22 #if !defined(GLOBUS_MEMORY_H) 23 #define GLOBUS_MEMORY_H 49 struct globus_memory_s;
50 typedef struct globus_memory_s * globus_memory_t;
53 globus_i_memory_pre_activate();
57 globus_memory_t * mem_info,
63 globus_memory_t * mem_info);
67 globus_memory_t * mem_info,
72 globus_memory_t * mem_info);
globus_bool_t globus_memory_push_node(globus_memory_t *mem_info, void *buf)
Return a memory item to the pool.
Definition: globus_memory.c:236
globus_bool_t globus_memory_init(globus_memory_t *mem_info, int node_size, int node_count)
Initialize memory pool.
Definition: globus_memory.c:99
globus_bool_t globus_memory_destroy(globus_memory_t *mem_info)
Destroy a memory pool.
Definition: globus_memory.c:277
Globus Threading Abstraction.
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
Reference Counting Module Activation and Deactivation.
void * globus_memory_pop_node(globus_memory_t *mem_info)
Retrieve a memory item from a pool.
Definition: globus_memory.c:191