ARGOBOTS  4dc37e16e1b227a480715ab67dae1dcfb4d2d4e0
Macros | Functions
abti_event.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ABTI_ENABLE_EVENT_INTERFACE   1
 
#define ABTI_event_thread_create(p_local, p_thread, p_caller, p_pool)
 
#define ABTI_event_thread_join(p_local, p_thread, p_caller)
 
#define ABTI_event_thread_free(p_local, p_thread, p_caller)
 
#define ABTI_event_thread_revive(p_local, p_thread, p_caller, p_pool)
 
#define ABTI_event_thread_run(p_local_xstream, p_thread, p_prev, p_parent)
 
#define ABTI_event_thread_finish(p_local_xstream, p_thread, p_parent)
 
#define ABTI_event_thread_cancel(p_local_xstream, p_thread)
 
#define ABTI_event_ythread_yield(p_local_xstream, p_ythread, p_parent, sync_event_type, p_sync)
 
#define ABTI_event_ythread_suspend(p_local_xstream, p_ythread, p_parent, sync_event_type, p_sync)
 
#define ABTI_event_ythread_resume(p_local, p_ythread, p_caller)
 

Functions

static void ABTI_event_thread_create_impl (ABTI_local *p_local, ABTI_thread *p_thread, ABTI_thread *p_caller, ABTI_pool *p_pool)
 
static void ABTI_event_thread_join_impl (ABTI_local *p_local, ABTI_thread *p_thread, ABTI_thread *p_caller)
 
static void ABTI_event_thread_free_impl (ABTI_local *p_local, ABTI_thread *p_thread, ABTI_thread *p_caller)
 
static void ABTI_event_thread_revive_impl (ABTI_local *p_local, ABTI_thread *p_thread, ABTI_thread *p_caller, ABTI_pool *p_pool)
 
static void ABTI_event_thread_run_impl (ABTI_xstream *p_local_xstream, ABTI_thread *p_thread, ABTI_thread *p_prev, ABTI_thread *p_parent)
 
static void ABTI_event_thread_finish_impl (ABTI_xstream *p_local_xstream, ABTI_thread *p_thread, ABTI_thread *p_parent)
 
static void ABTI_event_thread_cancel_impl (ABTI_xstream *p_local_xstream, ABTI_thread *p_thread)
 
static void ABTI_event_ythread_yield_impl (ABTI_xstream *p_local_xstream, ABTI_ythread *p_ythread, ABTI_thread *p_parent, ABT_sync_event_type sync_event_type, void *p_sync)
 
static void ABTI_event_ythread_suspend_impl (ABTI_xstream *p_local_xstream, ABTI_ythread *p_ythread, ABTI_thread *p_parent, ABT_sync_event_type sync_event_type, void *p_sync)
 
static void ABTI_event_ythread_resume_impl (ABTI_local *p_local, ABTI_ythread *p_ythread, ABTI_thread *p_caller)
 

Macro Definition Documentation

◆ ABTI_ENABLE_EVENT_INTERFACE

#define ABTI_ENABLE_EVENT_INTERFACE   1

Definition at line 11 of file abti_event.h.

◆ ABTI_event_thread_cancel

#define ABTI_event_thread_cancel (   p_local_xstream,
  p_thread 
)
Value:
do { \
ABTI_event_thread_cancel_impl(p_local_xstream, p_thread); \
} \
} while (0)

Definition at line 208 of file abti_event.h.

◆ ABTI_event_thread_create

#define ABTI_event_thread_create (   p_local,
  p_thread,
  p_caller,
  p_pool 
)
Value:
do { \
ABTI_event_thread_create_impl(p_local, p_thread, p_caller, \
p_pool); \
} \
} while (0)

Definition at line 162 of file abti_event.h.

◆ ABTI_event_thread_finish

#define ABTI_event_thread_finish (   p_local_xstream,
  p_thread,
  p_parent 
)
Value:
do { \
ABTI_event_thread_finish_impl(p_local_xstream, p_thread, \
p_parent); \
} \
} while (0)

Definition at line 200 of file abti_event.h.

◆ ABTI_event_thread_free

#define ABTI_event_thread_free (   p_local,
  p_thread,
  p_caller 
)
Value:
do { \
ABTI_event_thread_free_impl(p_local, p_thread, p_caller); \
} \
} while (0)

Definition at line 177 of file abti_event.h.

◆ ABTI_event_thread_join

#define ABTI_event_thread_join (   p_local,
  p_thread,
  p_caller 
)
Value:
do { \
ABTI_event_thread_join_impl(p_local, p_thread, p_caller); \
} \
} while (0)

Definition at line 170 of file abti_event.h.

◆ ABTI_event_thread_revive

#define ABTI_event_thread_revive (   p_local,
  p_thread,
  p_caller,
  p_pool 
)
Value:
do { \
ABTI_event_thread_revive_impl(p_local, p_thread, p_caller, \
p_pool); \
} \
} while (0)

Definition at line 184 of file abti_event.h.

◆ ABTI_event_thread_run

#define ABTI_event_thread_run (   p_local_xstream,
  p_thread,
  p_prev,
  p_parent 
)
Value:
do { \
ABTI_event_thread_run_impl(p_local_xstream, p_thread, p_prev, \
p_parent); \
} \
} while (0)

Definition at line 192 of file abti_event.h.

◆ ABTI_event_ythread_resume

#define ABTI_event_ythread_resume (   p_local,
  p_ythread,
  p_caller 
)
Value:
do { \
ABTI_event_ythread_resume_impl(p_local, p_ythread, p_caller); \
} \
} while (0)

Definition at line 234 of file abti_event.h.

◆ ABTI_event_ythread_suspend

#define ABTI_event_ythread_suspend (   p_local_xstream,
  p_ythread,
  p_parent,
  sync_event_type,
  p_sync 
)
Value:
do { \
ABTI_event_ythread_suspend_impl(p_local_xstream, p_ythread, \
p_parent, sync_event_type, \
p_sync); \
} \
} while (0)

Definition at line 224 of file abti_event.h.

◆ ABTI_event_ythread_yield

#define ABTI_event_ythread_yield (   p_local_xstream,
  p_ythread,
  p_parent,
  sync_event_type,
  p_sync 
)
Value:
do { \
ABTI_event_ythread_yield_impl(p_local_xstream, p_ythread, \
p_parent, sync_event_type, p_sync); \
} \
} while (0)

Definition at line 215 of file abti_event.h.

Function Documentation

◆ ABTI_event_thread_cancel_impl()

static void ABTI_event_thread_cancel_impl ( ABTI_xstream p_local_xstream,
ABTI_thread p_thread 
)
inlinestatic

Definition at line 103 of file abti_event.h.

◆ ABTI_event_thread_create_impl()

static void ABTI_event_thread_create_impl ( ABTI_local p_local,
ABTI_thread p_thread,
ABTI_thread p_caller,
ABTI_pool p_pool 
)
inlinestatic

Definition at line 16 of file abti_event.h.

◆ ABTI_event_thread_finish_impl()

static void ABTI_event_thread_finish_impl ( ABTI_xstream p_local_xstream,
ABTI_thread p_thread,
ABTI_thread p_parent 
)
inlinestatic

Definition at line 89 of file abti_event.h.

◆ ABTI_event_thread_free_impl()

static void ABTI_event_thread_free_impl ( ABTI_local p_local,
ABTI_thread p_thread,
ABTI_thread p_caller 
)
inlinestatic

Definition at line 45 of file abti_event.h.

◆ ABTI_event_thread_join_impl()

static void ABTI_event_thread_join_impl ( ABTI_local p_local,
ABTI_thread p_thread,
ABTI_thread p_caller 
)
inlinestatic

Definition at line 31 of file abti_event.h.

◆ ABTI_event_thread_revive_impl()

static void ABTI_event_thread_revive_impl ( ABTI_local p_local,
ABTI_thread p_thread,
ABTI_thread p_caller,
ABTI_pool p_pool 
)
inlinestatic

Definition at line 59 of file abti_event.h.

◆ ABTI_event_thread_run_impl()

static void ABTI_event_thread_run_impl ( ABTI_xstream p_local_xstream,
ABTI_thread p_thread,
ABTI_thread p_prev,
ABTI_thread p_parent 
)
inlinestatic

Definition at line 74 of file abti_event.h.

◆ ABTI_event_ythread_resume_impl()

static void ABTI_event_ythread_resume_impl ( ABTI_local p_local,
ABTI_ythread p_ythread,
ABTI_thread p_caller 
)
inlinestatic

Definition at line 147 of file abti_event.h.

◆ ABTI_event_ythread_suspend_impl()

static void ABTI_event_ythread_suspend_impl ( ABTI_xstream p_local_xstream,
ABTI_ythread p_ythread,
ABTI_thread p_parent,
ABT_sync_event_type  sync_event_type,
void *  p_sync 
)
inlinestatic

Definition at line 132 of file abti_event.h.

◆ ABTI_event_ythread_yield_impl()

static void ABTI_event_ythread_yield_impl ( ABTI_xstream p_local_xstream,
ABTI_ythread p_ythread,
ABTI_thread p_parent,
ABT_sync_event_type  sync_event_type,
void *  p_sync 
)
inlinestatic

Definition at line 117 of file abti_event.h.

ABTI_ENABLE_EVENT_INTERFACE
#define ABTI_ENABLE_EVENT_INTERFACE
Definition: abti_event.h:11