ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Functions
pool_user_def.c File Reference
#include "abti.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
Include dependency graph for pool_user_def.c:

Go to the source code of this file.

Functions

int ABT_pool_user_def_create (ABT_pool_user_create_unit_fn p_create_unit, ABT_pool_user_free_unit_fn p_free_unit, ABT_pool_user_is_empty_fn p_is_empty, ABT_pool_user_pop_fn p_pop, ABT_pool_user_push_fn p_push, ABT_pool_user_def *newdef)
 Create a new pool definition. More...
 
int ABT_pool_user_def_free (ABT_pool_user_def *def)
 Free a pool definition. More...
 
int ABT_pool_user_def_set_init (ABT_pool_user_def def, ABT_pool_user_init_fn p_init)
 Register a pool initialization function to a pool definition. More...
 
int ABT_pool_user_def_set_free (ABT_pool_user_def def, ABT_pool_user_free_fn p_free)
 Register a pool finalization function to a pool definition. More...
 
int ABT_pool_user_def_set_get_size (ABT_pool_user_def def, ABT_pool_user_get_size_fn p_get_size)
 Register a size inquiry function to a pool definition. More...
 
int ABT_pool_user_def_set_pop_wait (ABT_pool_user_def def, ABT_pool_user_pop_wait_fn p_pop_wait)
 Register a pop-wait function to a pool definition. More...
 
int ABT_pool_user_def_set_pop_many (ABT_pool_user_def def, ABT_pool_user_pop_many_fn p_pop_many)
 Register a pop-many function to a pool definition. More...
 
int ABT_pool_user_def_set_push_many (ABT_pool_user_def def, ABT_pool_user_push_many_fn p_push_many)
 Register a push-many function to a pool definition. More...
 
int ABT_pool_user_def_set_print_all (ABT_pool_user_def def, ABT_pool_user_print_all_fn p_print_all)
 Register a print-all function to a pool definition. More...
 
ABT_bool ABTI_pool_user_def_is_new (const ABT_pool_user_def def)
 

Function Documentation

◆ ABTI_pool_user_def_is_new()

ABT_bool ABTI_pool_user_def_is_new ( const ABT_pool_user_def  def)

Definition at line 368 of file pool_user_def.c.

Referenced by ABT_pool_create().