Implementation of tesla_store.
Definition in file tesla_store.c.
Go to the source code of this file.
Functions | |
pthread_key_t | pthread_key (void) |
The pthreads key used to identify TESLA data. More... | |
void | tesla_pthread_destructor (void *) |
int32_t | tesla_store_get (enum tesla_context context, uint32_t classes, uint32_t instances, tesla_store **storep) |
Retrieve the tesla_store for a context (e.g., a thread). More... | |
int32_t | tesla_store_init (tesla_store *store, enum tesla_context context, uint32_t classes, uint32_t instances) |
Initialise tesla_store internals. More... | |
void | tesla_store_free (tesla_store *store) |
Clean up a tesla_store. More... | |
int32_t | tesla_class_get (tesla_store *store, uint32_t id, tesla_class **tclassp, const char *name, const char *description) |
Retrieve (or create) a tesla_class from a tesla_store. More... | |
pthread_key_t pthread_key | ( | void | ) |
The pthreads key used to identify TESLA data.
Definition at line 195 of file tesla_store.c.
References __debug, and tesla_pthread_destructor().
Referenced by tesla_store_get().
void tesla_pthread_destructor | ( | void * | x | ) |
Definition at line 226 of file tesla_store.c.
References tesla_store_free().
Referenced by pthread_key().