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

Go to the source code of this file.

Typedefs

typedef struct gc_st gc_t
 
typedef void(* hook_fn_t )(ptst_t *, void *)
 

Functions

gc_tfr_gc_init (void)
 
int fr_gc_add_allocator (int alloc_size)
 
void fr_gc_remove_allocator (int alloc_id)
 
void * fr_gc_alloc (ptst_t *ptst, int alloc_id)
 
void fr_gc_free (ptst_t *ptst, void *p, int alloc_id)
 
void fr_gc_unsafe_free (ptst_t *ptst, void *p, int alloc_id)
 
int fr_gc_add_hook (hook_fn_t fn)
 
void fr_gc_remove_hook (int hook_id)
 
void fr_gc_add_ptr_to_hook_list (ptst_t *ptst, void *ptr, int hook_id)
 
void fr_gc_enter (ptst_t *ptst)
 
void fr_gc_exit (ptst_t *ptst)
 
void fr_init_gc_subsystem (void)
 
void fr_destroy_gc_subsystem (void)
 

Typedef Documentation

typedef struct gc_st gc_t
typedef void(* hook_fn_t)(ptst_t *, void *)

Function Documentation

void fr_destroy_gc_subsystem ( void  )

Here is the caller graph for this function:

int fr_gc_add_allocator ( int  alloc_size)

Here is the call graph for this function:

Here is the caller graph for this function:

int fr_gc_add_hook ( hook_fn_t  fn)
void fr_gc_add_ptr_to_hook_list ( ptst_t ptst,
void *  ptr,
int  hook_id 
)

Here is the call graph for this function:

void* fr_gc_alloc ( ptst_t ptst,
int  alloc_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void fr_gc_enter ( ptst_t ptst)

Here is the call graph for this function:

Here is the caller graph for this function:

void fr_gc_exit ( ptst_t ptst)
void fr_gc_free ( ptst_t ptst,
void *  p,
int  alloc_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

gc_t* fr_gc_init ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void fr_gc_remove_allocator ( int  alloc_id)

Here is the caller graph for this function:

void fr_gc_remove_hook ( int  hook_id)
void fr_gc_unsafe_free ( ptst_t ptst,
void *  p,
int  alloc_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void fr_init_gc_subsystem ( void  )

Here is the call graph for this function:

Here is the caller graph for this function: