ARGOBOTS  29b0d4cc91ca184a8278ddf690fd0bcb2119000e
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
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.

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_unit_type unit_get_type (ABT_unit unit)
 
static ABT_thread unit_get_thread (ABT_unit unit)
 
static ABT_task unit_get_task (ABT_unit unit)
 
static ABT_bool unit_is_in_pool (ABT_unit unit)
 
static ABT_unit unit_create_from_thread (ABT_thread thread)
 
static ABT_unit unit_create_from_task (ABT_task task)
 
static void unit_free (ABT_unit *unit)
 
static data_tpool_get_data_ptr (void *p_data)
 
static void convert_double_sec_to_timespec (struct timespec *ts_out, double seconds)
 

Typedef Documentation

typedef struct data data_t

Definition at line 35 of file fifo_wait.c.

Function Documentation

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

Definition at line 197 of file fifo_wait.c.

Referenced by pool_pop_timedwait().

static int pool_free ( ABT_pool  pool)
static

Definition at line 90 of file fifo_wait.c.

static data_t* pool_get_data_ptr ( void *  p_data)
inlinestatic
static size_t pool_get_size ( ABT_pool  pool)
static

Definition at line 103 of file fifo_wait.c.

static int pool_init ( ABT_pool  pool,
ABT_pool_config  config 
)
static

Definition at line 68 of file fifo_wait.c.

static ABT_unit pool_pop ( ABT_pool  pool)
static

Definition at line 242 of file fifo_wait.c.

static ABT_unit pool_pop_timedwait ( ABT_pool  pool,
double  abstime_secs 
)
static

Definition at line 204 of file fifo_wait.c.

static ABT_unit pool_pop_wait ( ABT_pool  pool,
double  time_secs 
)
static

Definition at line 138 of file fifo_wait.c.

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

Definition at line 307 of file fifo_wait.c.

static void pool_push ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 110 of file fifo_wait.c.

static int pool_remove ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 273 of file fifo_wait.c.

static ABT_unit unit_create_from_task ( ABT_task  task)
static

Definition at line 381 of file fifo_wait.c.

static ABT_unit unit_create_from_thread ( ABT_thread  thread)
static

Definition at line 369 of file fifo_wait.c.

static void unit_free ( ABT_unit unit)
static

Definition at line 392 of file fifo_wait.c.

static ABT_task unit_get_task ( ABT_unit  unit)
static

Definition at line 350 of file fifo_wait.c.

static ABT_thread unit_get_thread ( ABT_unit  unit)
static

Definition at line 337 of file fifo_wait.c.

static ABT_unit_type unit_get_type ( ABT_unit  unit)
static

Definition at line 331 of file fifo_wait.c.

static ABT_bool unit_is_in_pool ( ABT_unit  unit)
static

Definition at line 362 of file fifo_wait.c.