ARGOBOTS  1.1b1
Data Structures | Typedefs | Functions
fifo_wait.c File Reference
#include "abti.h"
Include dependency graph for fifo_wait.c:

Go to the source code of this file.

Data Structures

struct  data
 

Typedefs

typedef struct data data_t
 

Functions

static int pool_init (ABT_pool pool, ABT_pool_config config)
 
static int pool_free (ABT_pool pool)
 
static size_t pool_get_size (ABT_pool pool)
 
static void pool_push (ABT_pool pool, ABT_unit unit)
 
static ABT_unit pool_pop (ABT_pool pool)
 
static ABT_unit pool_pop_wait (ABT_pool pool, double time_secs)
 
static ABT_unit pool_pop_timedwait (ABT_pool pool, double abstime_secs)
 
static int pool_remove (ABT_pool pool, ABT_unit unit)
 
static int pool_print_all (ABT_pool pool, void *arg, void(*print_fn)(void *, ABT_unit))
 
static ABT_thread unit_get_thread (ABT_unit unit)
 
static ABT_bool unit_is_in_pool (ABT_unit unit)
 
static ABT_unit unit_create_from_thread (ABT_thread thread)
 
static void unit_free (ABT_unit *unit)
 
static data_tpool_get_data_ptr (void *p_data)
 
ABTU_ret_err int ABTI_pool_get_fifo_wait_def (ABT_pool_access access, ABTI_pool_def *p_def)
 
static void convert_double_sec_to_timespec (struct timespec *ts_out, double seconds)
 

Typedef Documentation

◆ data_t

typedef struct data data_t

Definition at line 32 of file fifo_wait.c.

Function Documentation

◆ ABTI_pool_get_fifo_wait_def()

ABTU_ret_err int ABTI_pool_get_fifo_wait_def ( ABT_pool_access  access,
ABTI_pool_def p_def 
)

Definition at line 39 of file fifo_wait.c.

Referenced by ABTI_pool_create_basic().

◆ convert_double_sec_to_timespec()

static void convert_double_sec_to_timespec ( struct timespec *  ts_out,
double  seconds 
)
inlinestatic

Definition at line 191 of file fifo_wait.c.

Referenced by pool_pop_timedwait().

◆ pool_free()

static int pool_free ( ABT_pool  pool)
static

Definition at line 84 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_get_data_ptr()

static data_t* pool_get_data_ptr ( void *  p_data)
inlinestatic

◆ pool_get_size()

static size_t pool_get_size ( ABT_pool  pool)
static

Definition at line 97 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_init()

static int pool_init ( ABT_pool  pool,
ABT_pool_config  config 
)
static

Definition at line 62 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_pop()

static ABT_unit pool_pop ( ABT_pool  pool)
static

Definition at line 236 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_pop_timedwait()

static ABT_unit pool_pop_timedwait ( ABT_pool  pool,
double  abstime_secs 
)
static

Definition at line 198 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_pop_wait()

static ABT_unit pool_pop_wait ( ABT_pool  pool,
double  time_secs 
)
static

Definition at line 132 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_print_all()

static int pool_print_all ( ABT_pool  pool,
void *  arg,
void(*)(void *, ABT_unit print_fn 
)
static

Definition at line 301 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_push()

static void pool_push ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 104 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ pool_remove()

static int pool_remove ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 267 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ unit_create_from_thread()

static ABT_unit unit_create_from_thread ( ABT_thread  thread)
static

Definition at line 338 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ unit_free()

static void unit_free ( ABT_unit unit)
static

Definition at line 348 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ unit_get_thread()

static ABT_thread unit_get_thread ( ABT_unit  unit)
static

Definition at line 325 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().

◆ unit_is_in_pool()

static ABT_bool unit_is_in_pool ( ABT_unit  unit)
static

Definition at line 331 of file fifo_wait.c.

Referenced by ABTI_pool_get_fifo_wait_def().