ARGOBOTS
dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
|
Go to the documentation of this file.
8 #ifndef ABT_CONFIG_DISABLE_TOOL_INTERFACE
84 uint64_t event_mask,
void *user_arg)
88 #ifdef ABT_CONFIG_DISABLE_TOOL_INTERFACE
241 #ifdef ABT_CONFIG_DISABLE_TOOL_INTERFACE
247 int abt_errno =
tool_query(p_tctx, query_kind, val);
257 #ifndef ABT_CONFIG_DISABLE_TOOL_INTERFACE
261 switch (query_kind) {
266 if (!p_tctx->p_parent) {
276 *(
int *)val = depth - 1;
280 if (!p_tctx->p_caller) {
287 if (!p_tctx->p_caller) {
288 *(
void **)val = NULL;
297 switch (p_tctx->sync_event_type) {
331 *(
void **)val = NULL;
struct ABT_thread_opaque * ABT_thread
Work unit handle type.
#define ABTI_SETUP_GLOBAL(pp_global)
static ABT_eventual ABTI_eventual_get_handle(ABTI_eventual *p_eventual)
#define ABTI_CHECK_ERROR(abt_errno)
static ABT_future ABTI_future_get_handle(ABTI_future *p_future)
struct ABT_mutex_opaque * ABT_mutex
Mutex handle type.
static ABT_thread ABTI_thread_get_handle(ABTI_thread *p_thread)
static ABT_barrier ABTI_barrier_get_handle(ABTI_barrier *p_barrier)
struct ABT_pool_opaque * ABT_pool
Pool handle type.
static ABT_xstream ABTI_xstream_get_handle(ABTI_xstream *p_xstream)
struct ABT_xstream_opaque * ABT_xstream
Execution stream handle type.
#define ABTI_CHECK_NULL_TOOL_CONTEXT_PTR(p)
struct ABT_barrier_opaque * ABT_barrier
Barrier handle type.
#define ABTI_HANDLE_ERROR(n)
struct ABT_future_opaque * ABT_future
Future handle type.
ABT_bool ABTI_initialized(void)
struct ABT_eventual_opaque * ABT_eventual
Eventual handle type.
static ABT_cond ABTI_cond_get_handle(ABTI_cond *p_cond)
#define ABT_SUCCESS
Error code: the routine returns successfully.
#define ABTI_UB_ASSERT(cond)
#define ABT_ERR_OTHER
Error code: other error.
struct ABT_cond_opaque * ABT_cond
Condition variable handle type.
#define ABT_ERR_FEATURE_NA
Error code: unsupported feature.
void(* ABT_tool_thread_callback_fn)(ABT_thread, ABT_xstream, uint64_t event, ABT_tool_context context, void *user_arg)
struct ABT_rwlock_opaque * ABT_rwlock
Readers-writer lock handle type.
static ABT_mutex ABTI_mutex_get_handle(ABTI_mutex *p_mutex)
static ABT_pool ABTI_pool_get_handle(ABTI_pool *p_pool)
static ABT_rwlock ABTI_rwlock_get_handle(ABTI_rwlock *p_rwlock)