tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
memory.h File Reference
#include <stddef.h>
#include "types.h"
Include dependency graph for memory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct memory memory_t
 

Enumerations

enum  { DEFAULT_INIT_BLOCK_CAPACITY = 16, DEFAULT_BLOCK_GROWTH_FACTOR = 2 }
 

Functions

bool_t memory_init (long numThread, size_t initBlockCapacity, long blockGrowthFactor)
 
void memory_destroy ()
 
void * memory_get (long threadId, size_t numByte)
 

Typedef Documentation

typedef struct memory memory_t

Enumeration Type Documentation

anonymous enum
Enumerator
DEFAULT_INIT_BLOCK_CAPACITY 
DEFAULT_BLOCK_GROWTH_FACTOR 

Function Documentation

void memory_destroy ( )

Here is the call graph for this function:

void* memory_get ( long  threadId,
size_t  numByte 
)

Here is the call graph for this function:

bool_t memory_init ( long  numThread,
size_t  initBlockCapacity,
long  blockGrowthFactor 
)

Here is the call graph for this function: