176,7 → 176,7 |
return -1; |
} |
|
spinlock_initialize(&t->debug_lock, "thread_debug_lock"); |
spinlock_initialize(&t->udebug.lock, "thread_debug_lock"); |
|
return 0; |
} |
347,13 → 347,7 |
t->threads_tree_node.key = (uintptr_t) t; |
|
/* Init debugging stuff */ |
waitq_initialize(&t->go_wq); |
t->debug_go_call = NULL; |
t->uspace_state = NULL; |
t->debug_stop = true; |
t->debug_stoppable = true; |
t->debug_active = false; |
t->cur_event = 0; /* none */ |
udebug_thread_initialize(&t->udebug); |
|
/* might depend on previous initialization */ |
thread_create_arch(t); |