tlds
Transactional Operations for Linked Data Structures
|
#include "ptst.h"
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_t * | fr_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 void(* hook_fn_t)(ptst_t *, void *) |
void fr_destroy_gc_subsystem | ( | void | ) |
int fr_gc_add_allocator | ( | int | alloc_size | ) |
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 | ||
) |
void* fr_gc_alloc | ( | ptst_t * | ptst, |
int | alloc_id | ||
) |
void fr_gc_enter | ( | ptst_t * | ptst | ) |
void fr_gc_exit | ( | ptst_t * | ptst | ) |
void fr_gc_free | ( | ptst_t * | ptst, |
void * | p, | ||
int | alloc_id | ||
) |
gc_t* fr_gc_init | ( | void | ) |
void fr_gc_remove_allocator | ( | int | alloc_id | ) |
void fr_gc_remove_hook | ( | int | hook_id | ) |
void fr_gc_unsafe_free | ( | ptst_t * | ptst, |
void * | p, | ||
int | alloc_id | ||
) |
void fr_init_gc_subsystem | ( | void | ) |