BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
36 return get() !=
static_cast<T*
>(0);
40 delete static_cast<T*
>(obj);
72 return get() !=
static_cast<T*
>(0);
76 delete static_cast<T*
>(obj);
void * get_task_specific_data(unsigned slot)
static void cleanup_function(void *obj)
void set_task_specific_data(unsigned slot, void *new_value, void(*cleanup)(void *))
unsigned get_next_unused_task_storage_slot()
static void cleanup_function(void *obj)
void * get_thread_specific_data(unsigned slot)
unsigned get_next_unused_thread_storage_slot()
void reset(T *new_value=0)
void reset(T *new_value=0)
void set_thread_specific_data(unsigned slot, void *new_value, void(*cleanup)(void *))