11 #ifndef LIB_GLOBALS_HPP
12 #define LIB_GLOBALS_HPP
20 #include <stm/config.h>
31 #ifdef STM_PROTECT_STACK
43 #endif // LIB_GLOBALS_HPP
TxThread * threads[MAX_THREADS]
Definition: txthread.cpp:56
Definition: metadata.hpp:115
Definition: stm_fraser.c:61
bool is_irrevoc(const TxThread &)
Definition: irrevocability.cpp:194
pad_word_t threadcount
Definition: WBMMPolicy.hpp:35
void sys_init(void(*abort_handler)(TxThread *)=NULL)
void(* AbortHandler)(TxThread *)
Definition: lib_globals.hpp:26
void sys_shutdown()
Definition: txthread.cpp:203
bool become_irrevoc(STM_WHEN_PROTECT_STACK(void **top_of_stack))
Definition: txthread.hpp:47
static const unsigned MAX_THREADS
Definition: metadata.hpp:33
const char * get_algname()
Definition: txthread.cpp:386
void set_policy(const char *)
Definition: txthread.cpp:261
void restart()
Definition: txthread.cpp:189