ARGOBOTS
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 HANDLE_WARNING(msg)
 
#define HANDLE_ERROR(msg)
 
#define HANDLE_ERROR_WITH_CODE(msg, n)
 
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
 

Macro Definition Documentation

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

Definition at line 227 of file abti_error.h.

Referenced by ABT_xstream_run_unit(), and ABTDI_xstream_context_thread_func().

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

Definition at line 241 of file abti_error.h.

Referenced by ABT_barrier_wait(), ABT_cond_broadcast(), ABT_cond_free(), ABT_cond_signal(), ABT_cond_timedwait(), ABT_cond_wait(), ABT_error_get_str(), ABT_eventual_free(), ABT_eventual_reset(), ABT_eventual_set(), ABT_eventual_test(), ABT_eventual_wait(), ABT_finalize(), ABT_future_free(), ABT_future_reset(), ABT_future_set(), ABT_future_test(), ABT_future_wait(), ABT_info_print_all_xstreams(), ABT_info_print_pool(), ABT_info_print_sched(), ABT_info_print_task(), ABT_info_print_thread(), ABT_info_print_thread_attr(), ABT_info_print_thread_stack(), ABT_info_print_thread_stacks_in_pool(), ABT_info_print_xstream(), ABT_info_query_config(), ABT_info_trigger_print_all_thread_stacks(), ABT_init(), ABT_key_free(), ABT_key_get(), ABT_key_set(), ABT_mutex_attr_free(), ABT_mutex_attr_set_recursive(), ABT_mutex_create_with_attr(), ABT_mutex_free(), ABT_mutex_lock(), ABT_mutex_lock_low(), ABT_mutex_spinlock(), ABT_mutex_trylock(), ABT_mutex_unlock(), ABT_mutex_unlock_de(), ABT_mutex_unlock_se(), ABT_pool_add_sched(), ABT_pool_create(), ABT_pool_create_basic(), ABT_pool_free(), ABT_pool_get_access(), ABT_pool_get_data(), ABT_pool_get_id(), ABT_pool_get_size(), ABT_pool_get_total_size(), ABT_pool_pop(), ABT_pool_pop_timedwait(), ABT_pool_print_all(), ABT_pool_push(), ABT_pool_remove(), ABT_pool_set_data(), ABT_rwlock_free(), ABT_rwlock_rdlock(), ABT_rwlock_unlock(), ABT_rwlock_wrlock(), ABT_sched_config_create(), ABT_sched_config_free(), ABT_sched_config_read(), ABT_sched_create(), ABT_sched_create_basic(), ABT_sched_exit(), ABT_sched_finish(), ABT_sched_free(), ABT_sched_get_data(), ABT_sched_get_num_pools(), ABT_sched_get_pools(), ABT_sched_get_size(), ABT_sched_get_total_size(), ABT_sched_has_to_stop(), ABT_sched_set_data(), ABT_self_get_arg(), ABT_self_on_primary_xstream(), ABT_self_set_arg(), ABT_self_suspend(), ABT_task_cancel(), ABT_task_create(), ABT_task_create_on_xstream(), ABT_task_free(), ABT_task_get_arg(), ABT_task_get_id(), ABT_task_get_last_pool(), ABT_task_get_last_pool_id(), ABT_task_get_state(), ABT_task_get_xstream(), ABT_task_is_migratable(), ABT_task_join(), ABT_task_revive(), ABT_task_set_migratable(), ABT_thread_attr_free(), ABT_thread_attr_get_stack(), ABT_thread_attr_get_stacksize(), ABT_thread_attr_set_callback(), ABT_thread_attr_set_migratable(), ABT_thread_attr_set_stack(), ABT_thread_attr_set_stacksize(), ABT_thread_cancel(), ABT_thread_create(), ABT_thread_create_many(), ABT_thread_create_on_xstream(), ABT_thread_exit(), ABT_thread_free(), ABT_thread_get_arg(), ABT_thread_get_attr(), ABT_thread_get_id(), ABT_thread_get_last_pool(), ABT_thread_get_last_pool_id(), ABT_thread_get_stacksize(), ABT_thread_get_state(), ABT_thread_is_migratable(), ABT_thread_is_primary(), ABT_thread_join(), ABT_thread_join_many(), ABT_thread_migrate(), ABT_thread_migrate_to_pool(), ABT_thread_migrate_to_sched(), ABT_thread_migrate_to_xstream(), ABT_thread_resume(), ABT_thread_revive(), ABT_thread_set_arg(), ABT_thread_set_associated_pool(), ABT_thread_set_callback(), ABT_thread_set_migratable(), ABT_thread_yield(), ABT_thread_yield_to(), ABT_timer_create(), ABT_timer_dup(), ABT_timer_free(), ABT_timer_get_overhead(), ABT_timer_read(), ABT_timer_start(), ABT_timer_stop(), ABT_timer_stop_and_add(), ABT_timer_stop_and_read(), ABT_unit_set_associated_pool(), ABT_xstream_barrier_create(), ABT_xstream_barrier_free(), ABT_xstream_barrier_wait(), ABT_xstream_check_events(), ABT_xstream_create(), ABT_xstream_create_basic(), ABT_xstream_create_with_rank(), ABT_xstream_exit(), ABT_xstream_free(), ABT_xstream_get_affinity(), ABT_xstream_get_cpubind(), ABT_xstream_get_main_pools(), ABT_xstream_get_main_sched(), ABT_xstream_get_rank(), ABT_xstream_get_state(), ABT_xstream_is_primary(), ABT_xstream_join(), ABT_xstream_revive(), ABT_xstream_run_unit(), ABT_xstream_self(), ABT_xstream_self_rank(), ABT_xstream_set_affinity(), ABT_xstream_set_cpubind(), ABT_xstream_set_main_sched(), ABT_xstream_set_main_sched_basic(), ABT_xstream_set_rank(), and pool_get_data_ptr().

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

Definition at line 234 of file abti_error.h.

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

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

Definition at line 220 of file abti_error.h.

Referenced by ABT_initialized().