ARGOBOTS
Typedefs | Functions
fifo.c File Reference
#include "abti.h"
#include <time.h>
Include dependency graph for fifo.c:

Go to the source code of this file.

Typedefs

typedef ABTI_unit unit_t
 
typedef struct data data_t
 

Functions

static double get_cur_time (void)
 
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_shared (ABT_pool pool, ABT_unit unit)
 
static void pool_push_private (ABT_pool pool, ABT_unit unit)
 
static ABT_unit pool_pop_shared (ABT_pool pool)
 
static ABT_unit pool_pop_private (ABT_pool pool)
 
static ABT_unit pool_pop_timedwait (ABT_pool pool, double abstime_secs)
 
static int pool_remove_shared (ABT_pool pool, ABT_unit unit)
 
static int pool_remove_private (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)
 

Typedef Documentation

typedef struct data data_t

Definition at line 55 of file fifo.c.

typedef ABTI_unit unit_t

Definition at line 40 of file fifo.c.

Function Documentation

static double get_cur_time ( void  )
inlinestatic

Definition at line 9 of file fifo.c.

Referenced by pool_pop_timedwait().

static int pool_free ( ABT_pool  pool)
static

Definition at line 139 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

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

Definition at line 150 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

int pool_init ( ABT_pool  pool,
ABT_pool_config  config 
)
static

Definition at line 114 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static ABT_unit pool_pop_private ( ABT_pool  pool)
static

Definition at line 285 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static ABT_unit pool_pop_shared ( ABT_pool  pool)
static

Definition at line 254 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static ABT_unit pool_pop_timedwait ( ABT_pool  pool,
double  abstime_secs 
)
static

Definition at line 209 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

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

Definition at line 379 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static void pool_push_private ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 184 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static void pool_push_shared ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 157 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static int pool_remove_private ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 348 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static int pool_remove_shared ( ABT_pool  pool,
ABT_unit  unit 
)
static

Definition at line 314 of file fifo.c.

Referenced by get_cur_time(), and pool_get_data_ptr().

static ABT_unit unit_create_from_task ( ABT_task  task)
static

Definition at line 459 of file fifo.c.

Referenced by pool_get_data_ptr().

static ABT_unit unit_create_from_thread ( ABT_thread  thread)
static

Definition at line 446 of file fifo.c.

Referenced by pool_get_data_ptr().

static void unit_free ( ABT_unit unit)
static

Definition at line 472 of file fifo.c.

Referenced by pool_get_data_ptr().

static ABT_task unit_get_task ( ABT_unit  unit)
static

Definition at line 427 of file fifo.c.

Referenced by pool_get_data_ptr().

static ABT_thread unit_get_thread ( ABT_unit  unit)
static

Definition at line 415 of file fifo.c.

Referenced by pool_get_data_ptr().

static ABT_unit_type unit_get_type ( ABT_unit  unit)
static

Definition at line 409 of file fifo.c.

Referenced by pool_get_data_ptr().

static ABT_bool unit_is_in_pool ( ABT_unit  unit)
static

Definition at line 439 of file fifo.c.

Referenced by pool_get_data_ptr().