19 #if SSTMAC_HAVE_UCONTEXT 32 size_t stackptr = (size_t) &x;
34 size_t aligned_stack_ptr = stack_mult *
stacksize_;
35 int* tls = (
int*) aligned_stack_ptr;
47 #endif // THREAD_INFO_H
static void register_user_space_virtual_thread(int phys_thread_id, void *stack, size_t stacksize)
static void register_kernel_space_virtual_thread(int thread_id, pthread_t *thr, pthread_attr_t *attrs)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
static int user_space_thread_id()
static int kernel_space_thread_id()
static int current_physical_thread_id()