22 #if !defined(GLOBUS_MEMORY_H) 23 #define GLOBUS_MEMORY_H 47 struct globus_memory_s;
48 typedef struct globus_memory_s * globus_memory_t;
51 globus_i_memory_pre_activate();
55 globus_memory_t * mem_info,
61 globus_memory_t * mem_info);
65 globus_memory_t * mem_info,
70 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