ARGOBOTS  1059a7c2eb7e3f99f736a9c3a4f6ea476ac1b804
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
abti_error.h File Reference
#include <assert.h>
#include <abt_config.h>
Include dependency graph for abti_error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ABTI_ASSERT(cond)
 
#define ABTI_STATIC_ASSERT(cond)
 
#define ABTI_IS_PRINT_ABT_ERRNO_ENABLED   0
 
#define HANDLE_WARNING(msg)
 
#define HANDLE_ERROR(msg)
 
#define HANDLE_ERROR_WITH_CODE(msg, n)
 
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
 
#define ABTI_SETUP_WITH_INIT_CHECK()
 
#define ABTI_SETUP_LOCAL_XSTREAM(pp_local_xstream)
 
#define ABTI_SETUP_LOCAL_YTHREAD(pp_local_xstream, pp_ythread)
 
#define ABTI_SETUP_LOCAL_XSTREAM_WITH_INIT_CHECK(pp_local_xstream)
 
#define ABTI_SETUP_LOCAL_YTHREAD_WITH_INIT_CHECK(pp_local_xstream, pp_ythread)
 
#define ABTI_HANDLE_ERROR(n)
 
#define ABTI_CHECK_ERROR(abt_errno)
 
#define ABTI_CHECK_TRUE(cond, abt_errno)
 
#define ABTI_CHECK_YIELDABLE(p_thread, pp_ythread, abt_errno)
 
#define ABTI_CHECK_TRUE_MSG(cond, abt_errno, msg)
 
#define ABTI_CHECK_NULL_XSTREAM_PTR(p)
 
#define ABTI_CHECK_NULL_POOL_PTR(p)
 
#define ABTI_CHECK_NULL_SCHED_PTR(p)
 
#define ABTI_CHECK_NULL_THREAD_PTR(p)
 
#define ABTI_CHECK_NULL_YTHREAD_PTR(p)
 
#define ABTI_CHECK_NULL_THREAD_ATTR_PTR(p)
 
#define ABTI_CHECK_NULL_TASK_PTR(p)
 
#define ABTI_CHECK_NULL_KEY_PTR(p)
 
#define ABTI_CHECK_NULL_MUTEX_PTR(p)
 
#define ABTI_CHECK_NULL_MUTEX_ATTR_PTR(p)
 
#define ABTI_CHECK_NULL_COND_PTR(p)
 
#define ABTI_CHECK_NULL_RWLOCK_PTR(p)
 
#define ABTI_CHECK_NULL_FUTURE_PTR(p)
 
#define ABTI_CHECK_NULL_EVENTUAL_PTR(p)
 
#define ABTI_CHECK_NULL_BARRIER_PTR(p)
 
#define ABTI_CHECK_NULL_XSTREAM_BARRIER_PTR(p)
 
#define ABTI_CHECK_NULL_TIMER_PTR(p)
 
#define ABTI_CHECK_NULL_TOOL_CONTEXT_PTR(p)
 

Macro Definition Documentation

#define ABTI_ASSERT (   cond)
Value:
do { \
assert(cond); \
} \
} while (0)
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 12 of file abti_error.h.

Referenced by ABT_barrier_free(), ABT_barrier_reinit(), ABT_barrier_wait(), ABT_mutex_lock(), ABT_mutex_lock_low(), ABT_mutex_spinlock(), ABT_mutex_trylock(), ABT_self_get_last_pool_id(), ABT_thread_get_last_pool_id(), ABTD_affinity_init(), ABTD_env_init(), ABTD_time_get(), ABTD_ucontext_wrapper(), ABTD_xstream_context_free(), ABTD_xstream_context_join(), ABTD_xstream_context_revive(), ABTD_ythread_context_jump(), ABTD_ythread_context_make(), ABTD_ythread_context_take(), ABTD_ythread_terminate_no_arg(), ABTI_info_check_print_all_thread_stacks(), ABTI_ktable_alloc_elem(), ABTI_ktable_create(), ABTI_mem_free_thread(), ABTI_mem_pool_alloc(), ABTI_mem_pool_init_global_pool(), ABTI_mem_pool_init_local_pool(), ABTI_mem_pool_take_bucket(), ABTI_mutex_wait(), ABTI_mutex_wait_low(), ABTI_pool_release(), ABTI_sched_free(), ABTI_sync_lifo_init(), ABTI_thread_revive(), ABTI_unit_set_associated_pool(), ABTI_xstream_run_unit(), ABTI_xstream_start_primary(), ABTI_ythread_context_switch_to_child_internal(), ABTI_ythread_context_switch_to_parent_internal(), ABTI_ythread_context_switch_to_sibling_internal(), ABTI_ythread_htable_free(), ABTI_ythread_htable_push(), ABTI_ythread_htable_push_low(), ABTI_ythread_set_blocked(), ABTI_ythread_set_ready(), ABTI_ythread_suspend(), finailze_library(), id_list_add(), id_list_create(), info_trigger_print_all_thread_stacks(), list_add(), list_create(), pool_get_access_num(), pool_print_all(), print_all_thread_stacks(), sched_config_type_size(), sched_free(), sched_run(), thread_free(), thread_join(), thread_main_sched_func(), thread_root_func(), unit_create_from_task(), unit_create_from_thread(), xstream_context_thread_func(), xstream_init_main_sched(), xstream_join(), xstream_migrate_thread(), xstream_return_rank(), xstream_schedule_ythread(), xstream_set_new_rank(), xstream_start(), and ythread_create().

#define ABTI_CHECK_ERROR (   abt_errno)
Value:
do { \
int abt_errno_ = (abt_errno); \
ABTU_unlikely(abt_errno_ != ABT_SUCCESS)) { \
return abt_errno_; \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABT_SUCCESS
Definition: abt.h:64
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 127 of file abti_error.h.

Referenced by ABT_barrier_create(), ABT_barrier_reinit(), ABT_cond_create(), ABT_cond_wait(), ABT_eventual_create(), ABT_finalize(), ABT_future_create(), ABT_info_print_thread_stacks_in_pool(), ABT_init(), ABT_key_create(), ABT_key_set(), ABT_mutex_attr_create(), ABT_mutex_create(), ABT_mutex_create_with_attr(), ABT_pool_add_sched(), ABT_pool_create(), ABT_pool_create_basic(), ABT_pool_remove(), ABT_rwlock_create(), ABT_rwlock_rdlock(), ABT_rwlock_wrlock(), ABT_sched_config_create(), ABT_sched_config_read(), ABT_sched_create(), ABT_sched_create_basic(), ABT_task_create(), ABT_task_create_on_xstream(), ABT_thread_attr_create(), ABT_thread_create(), ABT_thread_create_many(), ABT_thread_create_on_xstream(), ABT_thread_get_attr(), ABT_thread_migrate(), ABT_thread_migrate_to_pool(), ABT_thread_migrate_to_sched(), ABT_thread_migrate_to_xstream(), ABT_thread_set_callback(), ABT_thread_set_specific(), ABT_thread_yield_to(), ABT_timer_create(), ABT_timer_dup(), ABT_timer_get_overhead(), ABT_tool_query_task(), ABT_tool_query_thread(), ABT_xstream_barrier_create(), ABT_xstream_create(), ABT_xstream_create_basic(), ABT_xstream_create_with_rank(), ABT_xstream_free(), ABT_xstream_get_affinity(), ABT_xstream_get_cpubind(), ABT_xstream_join(), ABT_xstream_set_affinity(), ABT_xstream_set_cpubind(), ABT_xstream_set_main_sched(), ABT_xstream_set_main_sched_basic(), ABTI_cond_wait(), ABTI_ktable_alloc_elem(), ABTI_ktable_create(), ABTI_ktable_set(), ABTI_ktable_set_unsafe(), ABTI_mem_alloc_desc(), ABTI_mem_alloc_nythread_malloc(), ABTI_mem_alloc_ythread_default(), ABTI_mem_alloc_ythread_malloc_desc_stack(), ABTI_mem_alloc_ythread_malloc_desc_stack_impl(), ABTI_mem_alloc_ythread_mempool_desc(), ABTI_mutex_init(), ABTI_pool_create_basic(), ABTI_sched_config_read_global(), ABTI_sched_create_basic(), ABTI_thread_attr_dup(), ABTI_thread_get_mig_data(), ABTI_xstream_create_primary(), ABTI_ythread_create_main(), ABTI_ythread_create_main_sched(), ABTI_ythread_create_root(), ABTI_ythread_create_sched(), ABTI_ythread_htable_create(), info_add_pool_set(), info_initialize_pool_set(), init_library(), pool_create(), pool_init(), print_all_thread_stacks(), read_cpuset(), sched_create(), sched_init(), task_create(), thread_migrate_to_pool(), thread_migrate_to_xstream(), xstream_create(), xstream_migrate_thread(), xstream_start(), and ythread_create().

#define ABTI_CHECK_NULL_BARRIER_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_barrier *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABT_ERR_INV_BARRIER
Definition: abt.h:90
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 292 of file abti_error.h.

Referenced by ABT_barrier_free(), ABT_barrier_get_num_waiters(), ABT_barrier_reinit(), and ABT_barrier_wait().

#define ABTI_CHECK_NULL_COND_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_cond *)NULL)) { \
return ABT_ERR_INV_COND; \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABT_ERR_INV_COND
Definition: abt.h:86
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 256 of file abti_error.h.

Referenced by ABT_cond_broadcast(), ABT_cond_free(), ABT_cond_signal(), ABT_cond_timedwait(), and ABT_cond_wait().

#define ABTI_CHECK_NULL_EVENTUAL_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_eventual *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABT_ERR_INV_EVENTUAL
Definition: abt.h:88
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 283 of file abti_error.h.

Referenced by ABT_eventual_free(), ABT_eventual_reset(), ABT_eventual_set(), ABT_eventual_test(), and ABT_eventual_wait().

#define ABTI_CHECK_NULL_FUTURE_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_future *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABT_ERR_INV_FUTURE
Definition: abt.h:89
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 274 of file abti_error.h.

Referenced by ABT_future_free(), ABT_future_reset(), ABT_future_set(), ABT_future_test(), and ABT_future_wait().

#define ABTI_CHECK_NULL_KEY_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_key *)NULL)) { \
return ABT_ERR_INV_KEY; \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
Definition: abti.h:354
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABT_ERR_INV_KEY
Definition: abt.h:83
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 229 of file abti_error.h.

Referenced by ABT_key_free(), ABT_key_get(), ABT_key_set(), ABT_thread_get_specific(), and ABT_thread_set_specific().

#define ABTI_CHECK_NULL_MUTEX_ATTR_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_mutex_attr *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABT_ERR_INV_MUTEX_ATTR
Definition: abt.h:85
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 247 of file abti_error.h.

Referenced by ABT_mutex_attr_free(), ABT_mutex_attr_set_recursive(), and ABT_mutex_create_with_attr().

#define ABTI_CHECK_NULL_MUTEX_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_mutex *)NULL)) { \
} \
} while (0)
#define ABT_ERR_INV_MUTEX
Definition: abt.h:84
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 238 of file abti_error.h.

Referenced by ABT_cond_timedwait(), ABT_cond_wait(), ABT_mutex_free(), ABT_mutex_lock(), ABT_mutex_lock_low(), ABT_mutex_spinlock(), ABT_mutex_trylock(), ABT_mutex_unlock(), ABT_mutex_unlock_de(), and ABT_mutex_unlock_se().

#define ABTI_CHECK_NULL_POOL_PTR (   p)
#define ABTI_CHECK_NULL_RWLOCK_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_rwlock *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABT_ERR_INV_RWLOCK
Definition: abt.h:87
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 265 of file abti_error.h.

Referenced by ABT_rwlock_free(), ABT_rwlock_rdlock(), ABT_rwlock_unlock(), and ABT_rwlock_wrlock().

#define ABTI_CHECK_NULL_SCHED_PTR (   p)
#define ABTI_CHECK_NULL_TASK_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_thread *)NULL)) { \
return ABT_ERR_INV_TASK; \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABT_ERR_INV_TASK
Definition: abt.h:82
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 220 of file abti_error.h.

#define ABTI_CHECK_NULL_THREAD_ATTR_PTR (   p)
#define ABTI_CHECK_NULL_THREAD_PTR (   p)
#define ABTI_CHECK_NULL_TIMER_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_timer *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABT_ERR_INV_TIMER
Definition: abt.h:91
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 310 of file abti_error.h.

Referenced by ABT_timer_dup(), ABT_timer_free(), ABT_timer_read(), ABT_timer_start(), ABT_timer_stop(), ABT_timer_stop_and_add(), and ABT_timer_stop_and_read().

#define ABTI_CHECK_NULL_TOOL_CONTEXT_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_tool_context *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABT_ERR_INV_TOOL_CONTEXT
Definition: abt.h:93
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 319 of file abti_error.h.

Referenced by ABT_tool_query_task(), and ABT_tool_query_thread().

#define ABTI_CHECK_NULL_XSTREAM_BARRIER_PTR (   p)
Value:
do { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABT_ERR_INV_XSTREAM_BARRIER
Definition: abt.h:70
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 301 of file abti_error.h.

Referenced by ABT_xstream_barrier_free(), and ABT_xstream_barrier_wait().

#define ABTI_CHECK_NULL_XSTREAM_PTR (   p)
#define ABTI_CHECK_NULL_YTHREAD_PTR (   p)
Value:
do { \
ABTU_unlikely(p == (ABTI_ythread *)NULL)) { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABT_ERR_INV_THREAD
Definition: abt.h:80
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 202 of file abti_error.h.

Referenced by ABT_thread_yield_to().

#define ABTI_CHECK_TRUE (   cond,
  abt_errno 
)
#define ABTI_CHECK_TRUE_MSG (   cond,
  abt_errno,
  msg 
)
Value:
do { \
return (abt_errno); \
} \
} while (0)
#define HANDLE_ERROR(msg)
Definition: abti_error.h:37
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 158 of file abti_error.h.

Referenced by ABT_thread_cancel(), ABT_thread_free(), ABT_thread_join(), ABT_thread_yield_to(), ABT_xstream_cancel(), ABT_xstream_free(), and finailze_library().

#define ABTI_CHECK_YIELDABLE (   p_thread,
  pp_ythread,
  abt_errno 
)
Value:
do { \
ABTI_thread *p_tmp = (p_thread); \
int abt_errno_ = (abt_errno); \
return abt_errno_; \
} \
*(pp_ythread) = ABTI_thread_get_ythread(p_tmp); \
} while (0)
struct ABTI_thread ABTI_thread
Definition: abti.h:111
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_THREAD_TYPE_YIELDABLE
Definition: abti.h:77
static ABTI_ythread * ABTI_thread_get_ythread(ABTI_thread *p_thread)
Definition: abti_thread.h:52
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 146 of file abti_error.h.

Referenced by ABT_info_print_thread_stack(), ABT_thread_get_stacksize(), ABT_thread_resume(), finailze_library(), and xstream_update_main_sched().

#define ABTI_HANDLE_ERROR (   n)
#define ABTI_IS_PRINT_ABT_ERRNO_ENABLED   0

Definition at line 27 of file abti_error.h.

#define ABTI_SETUP_LOCAL_XSTREAM (   pp_local_xstream)
Value:
do { \
ABTI_xstream *p_local_xstream_tmp = \
ABTU_unlikely(p_local_xstream_tmp == NULL)) { \
} \
ABTI_xstream **pp_local_xstream_tmp = (pp_local_xstream); \
if (pp_local_xstream_tmp) { \
*pp_local_xstream_tmp = p_local_xstream_tmp; \
} \
} while (0)
struct ABTI_xstream ABTI_xstream
Definition: abti.h:103
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_EXT_THREAD_ENABLED
Definition: abti.h:28
#define ABT_ERR_INV_XSTREAM
Definition: abt.h:68
static ABTI_local * ABTI_local_get_local(void)
Definition: abti_local.h:41
static ABTI_xstream * ABTI_local_get_xstream_or_null(ABTI_local *p_local)
Definition: abti_local.h:77

Definition at line 68 of file abti_error.h.

Referenced by ABT_key_get(), and ABT_key_set().

#define ABTI_SETUP_LOCAL_XSTREAM_WITH_INIT_CHECK (   pp_local_xstream)
#define ABTI_SETUP_LOCAL_YTHREAD (   pp_local_xstream,
  pp_ythread 
)
Value:
do { \
ABTI_xstream *p_local_xstream_tmp = \
ABTU_unlikely(p_local_xstream_tmp == NULL)) { \
} \
ABTI_xstream **pp_local_xstream_tmp = (pp_local_xstream); \
if (pp_local_xstream_tmp) { \
*pp_local_xstream_tmp = p_local_xstream_tmp; \
} \
ABTI_thread *p_thread_tmp = p_local_xstream_tmp->p_thread; \
!(p_thread_tmp->type & ABTI_THREAD_TYPE_YIELDABLE))) { \
} \
ABTI_ythread **pp_ythread_tmp = (pp_ythread); \
if (pp_ythread_tmp) { \
*pp_ythread_tmp = ABTI_thread_get_ythread(p_thread_tmp); \
} \
} while (0)
struct ABTI_thread ABTI_thread
Definition: abti.h:111
struct ABTI_xstream ABTI_xstream
Definition: abti.h:103
#define ABTU_unlikely(cond)
Definition: abtu.h:18
struct ABTI_ythread ABTI_ythread
Definition: abti.h:113
#define ABT_ERR_INV_THREAD
Definition: abt.h:80
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
#define ABTI_IS_EXT_THREAD_ENABLED
Definition: abti.h:28
#define ABTI_THREAD_TYPE_YIELDABLE
Definition: abti.h:77
static ABTI_ythread * ABTI_thread_get_ythread(ABTI_thread *p_thread)
Definition: abti_thread.h:52
#define ABT_ERR_INV_XSTREAM
Definition: abt.h:68
static ABTI_local * ABTI_local_get_local(void)
Definition: abti_local.h:41
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20
static ABTI_xstream * ABTI_local_get_xstream_or_null(ABTI_local *p_local)
Definition: abti_local.h:77

Definition at line 83 of file abti_error.h.

Referenced by ABT_thread_yield_to(), ABT_xstream_run_unit(), ABT_xstream_set_main_sched(), and ABT_xstream_set_main_sched_basic().

#define ABTI_SETUP_LOCAL_YTHREAD_WITH_INIT_CHECK (   pp_local_xstream,
  pp_ythread 
)
Value:
do { \
ABTI_SETUP_LOCAL_YTHREAD(pp_local_xstream, pp_ythread); \
} while (0)
#define ABTI_SETUP_WITH_INIT_CHECK()
Definition: abti_error.h:59
#define ABTI_SETUP_LOCAL_YTHREAD(pp_local_xstream, pp_ythread)
Definition: abti_error.h:83

Definition at line 115 of file abti_error.h.

Referenced by ABT_self_suspend(), ABT_thread_exit(), ABT_thread_self_id(), ABT_thread_yield(), and ABT_xstream_exit().

#define ABTI_SETUP_WITH_INIT_CHECK ( )
Value:
do { \
} \
} while (0)
#define ABTU_unlikely(cond)
Definition: abtu.h:18
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
Definition: abti_error.h:51
ABTI_global * gp_ABTI_global
Definition: global.c:18
#define ABT_ERR_UNINITIALIZED
Definition: abt.h:65
#define ABTI_IS_ERROR_CHECK_ENABLED
Definition: abti.h:20

Definition at line 59 of file abti_error.h.

Referenced by ABT_info_print_all_xstreams(), ABT_info_print_config(), ABT_info_query_config(), ABT_self_get_last_pool_id(), and ABT_xstream_get_num().

#define ABTI_STATIC_ASSERT (   cond)
Value:
do { \
((void)sizeof(char[2 * !!(cond)-1])); \
} while (0)

Definition at line 19 of file abti_error.h.

Referenced by ABT_barrier_wait(), ABTI_ktable_create(), ABTI_ktable_set_impl(), ABTI_mem_alloc_ythread_mempool_desc(), ABTI_mem_free_thread(), ABTI_thread_get_ythread(), and ABTI_ythread_htable_create().

#define HANDLE_ERROR (   msg)
Value:
do { \
fprintf(stderr, "[%s:%d] %s\n", __FILE__, __LINE__, msg); \
} \
} while (0)
#define ABTI_IS_PRINT_ABT_ERRNO_ENABLED
Definition: abti_error.h:27

Definition at line 37 of file abti_error.h.

Referenced by ABTD_xstream_context_create().

#define HANDLE_ERROR_FUNC_WITH_CODE (   n)
Value:
do { \
fprintf(stderr, "[%s:%d] %s: %d\n", __FILE__, __LINE__, __func__, \
n); \
} \
} while (0)
#define ABTI_IS_PRINT_ABT_ERRNO_ENABLED
Definition: abti_error.h:27

Definition at line 51 of file abti_error.h.

#define HANDLE_ERROR_WITH_CODE (   msg,
 
)
Value:
do { \
fprintf(stderr, "[%s:%d] %s: %d\n", __FILE__, __LINE__, msg, n); \
} \
} while (0)
#define ABTI_IS_PRINT_ABT_ERRNO_ENABLED
Definition: abti_error.h:27

Definition at line 44 of file abti_error.h.

#define HANDLE_WARNING (   msg)
Value:
do { \
fprintf(stderr, "[%s:%d] %s\n", __FILE__, __LINE__, msg); \
} \
} while (0)
#define ABTI_IS_PRINT_ABT_ERRNO_ENABLED
Definition: abti_error.h:27

Definition at line 30 of file abti_error.h.

Referenced by xstream_set_new_rank().