@@ -190,37 +190,88 @@ enum ABT_event_kind {
190190#define ABT_XSTREAM_ANY_RANK -1
191191
192192/* Data Types */
193- typedef void * ABT_xstream ; /* Execution Stream */
194- typedef enum ABT_xstream_state ABT_xstream_state ; /* ES state */
195- typedef void * ABT_xstream_barrier ; /* ES barrier */
196- typedef void * ABT_sched ; /* Scheduler */
197- typedef void * ABT_sched_config ; /* Sched-specific config */
198- typedef enum ABT_sched_predef ABT_sched_predef ; /* Predefined scheduler */
199- typedef enum ABT_sched_state ABT_sched_state ; /* Scheduler state */
200- typedef enum ABT_sched_type ABT_sched_type ; /* Scheduler type */
201- typedef void * ABT_pool ; /* Pool */
202- typedef void * ABT_pool_config ; /* Specific pool config */
203- typedef enum ABT_pool_kind ABT_pool_kind ; /* Pool kind */
204- typedef enum ABT_pool_access ABT_pool_access ; /* Pool access mode */
205- typedef void * ABT_unit ; /* Unit */
206- typedef enum ABT_unit_type ABT_unit_type ; /* Unit type */
207- typedef void * ABT_thread ; /* User-Level Thread (ULT) */
208- typedef void * ABT_thread_attr ; /* ULT attribute */
209- typedef enum ABT_thread_state ABT_thread_state ; /* ULT state */
210- typedef uint64_t ABT_thread_id ; /* ULT id */
211- typedef void * ABT_task ; /* Tasklet */
212- typedef enum ABT_task_state ABT_task_state ; /* Tasklet state */
213- typedef void * ABT_key ; /* WU-specific data key */
214- typedef void * ABT_mutex ; /* Mutex */
215- typedef void * ABT_mutex_attr ; /* Mutex attribute */
216- typedef void * ABT_cond ; /* Condition variable */
217- typedef void * ABT_rwlock ; /* Readers writer lock */
218- typedef void * ABT_eventual ; /* Eventual */
219- typedef void * ABT_future ; /* Future */
220- typedef void * ABT_barrier ; /* Barrier */
221- typedef void * ABT_timer ; /* Timer */
222- typedef int ABT_bool ; /* Boolean type */
223- typedef enum ABT_event_kind ABT_event_kind ; /* Event kind */
193+ struct ABT_xstream_opaque ;
194+ struct ABT_xstream_barrier_opaque ;
195+ struct ABT_sched_opaque ;
196+ struct ABT_sched_config_opaque ;
197+ struct ABT_pool_opaque ;
198+ struct ABT_pool_config_opaque ;
199+ struct ABT_unit_opaque ;
200+ struct ABT_thread_opaque ;
201+ struct ABT_thread_attr_opaque ;
202+ struct ABT_task_opaque ;
203+ struct ABT_key_opaque ;
204+ struct ABT_mutex_opaque ;
205+ struct ABT_mutex_attr_opaque ;
206+ struct ABT_cond_opaque ;
207+ struct ABT_rwlock_opaque ;
208+ struct ABT_eventual_opaque ;
209+ struct ABT_future_opaque ;
210+ struct ABT_barrier_opaque ;
211+ struct ABT_timer_opaque ;
212+
213+ /* Execution Stream */
214+ typedef struct ABT_xstream_opaque * ABT_xstream ;
215+ /* ES state */
216+ typedef enum ABT_xstream_state ABT_xstream_state ;
217+ /* ES barrier */
218+ typedef struct ABT_xstream_barrier_opaque * ABT_xstream_barrier ;
219+ /* Scheduler */
220+ typedef struct ABT_sched_opaque * ABT_sched ;
221+ /* Sched-specific config */
222+ typedef struct ABT_sched_config_opaque * ABT_sched_config ;
223+ /* Predefined scheduler */
224+ typedef enum ABT_sched_predef ABT_sched_predef ;
225+ /* Scheduler state */
226+ typedef enum ABT_sched_state ABT_sched_state ;
227+ /* Scheduler type */
228+ typedef enum ABT_sched_type ABT_sched_type ;
229+ /* Pool */
230+ typedef struct ABT_pool_opaque * ABT_pool ;
231+ /* Specific pool config */
232+ typedef struct ABT_pool_config_opaque * ABT_pool_config ;
233+ /* Pool kind */
234+ typedef enum ABT_pool_kind ABT_pool_kind ;
235+ /* Pool access mode */
236+ typedef enum ABT_pool_access ABT_pool_access ;
237+ /* Unit */
238+ typedef struct ABT_unit_opaque * ABT_unit ;
239+ /* Unit type */
240+ typedef enum ABT_unit_type ABT_unit_type ;
241+ /* User-Level Thread (ULT) */
242+ typedef struct ABT_thread_opaque * ABT_thread ;
243+ /* ULT attribute */
244+ typedef struct ABT_thread_attr_opaque * ABT_thread_attr ;
245+ /* ULT state */
246+ typedef enum ABT_thread_state ABT_thread_state ;
247+ /* Tasklet state */
248+ typedef enum ABT_task_state ABT_task_state ;
249+ /* ULT id */
250+ typedef uint64_t ABT_thread_id ;
251+ /* Tasklet */
252+ typedef struct ABT_task_opaque * ABT_task ;
253+ /* WU-specific data key */
254+ typedef struct ABT_key_opaque * ABT_key ;
255+ /* Mutex */
256+ typedef struct ABT_mutex_opaque * ABT_mutex ;
257+ /* Mutex attribute */
258+ typedef struct ABT_mutex_attr_opaque * ABT_mutex_attr ;
259+ /* Condition variable */
260+ typedef struct ABT_cond_opaque * ABT_cond ;
261+ /* Readers writer lock */
262+ typedef struct ABT_rwlock_opaque * ABT_rwlock ;
263+ /* Eventual */
264+ typedef struct ABT_eventual_opaque * ABT_eventual ;
265+ /* Future */
266+ typedef struct ABT_future_opaque * ABT_future ;
267+ /* Barrier */
268+ typedef struct ABT_barrier_opaque * ABT_barrier ;
269+ /* Timer */
270+ typedef struct ABT_timer_opaque * ABT_timer ;
271+ /* Boolean type */
272+ typedef int ABT_bool ;
273+ /* Event kind */
274+ typedef enum ABT_event_kind ABT_event_kind ;
224275
225276
226277/* Null Object Handles */
0 commit comments