Rev 2925 | Rev 3026 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2925 | Rev 3018 | ||
---|---|---|---|
Line 174... | Line 174... | ||
174 | slab_free(fpu_context_slab, t->saved_fpu_context); |
174 | slab_free(fpu_context_slab, t->saved_fpu_context); |
175 | #endif |
175 | #endif |
176 | return -1; |
176 | return -1; |
177 | } |
177 | } |
178 | 178 | ||
179 | spinlock_initialize(&t->debug_lock, "thread_debug_lock"); |
179 | spinlock_initialize(&t->udebug.lock, "thread_debug_lock"); |
180 | 180 | ||
181 | return 0; |
181 | return 0; |
182 | } |
182 | } |
183 | 183 | ||
184 | /** Destruction of thread_t object */ |
184 | /** Destruction of thread_t object */ |
Line 345... | Line 345... | ||
345 | 345 | ||
346 | avltree_node_initialize(&t->threads_tree_node); |
346 | avltree_node_initialize(&t->threads_tree_node); |
347 | t->threads_tree_node.key = (uintptr_t) t; |
347 | t->threads_tree_node.key = (uintptr_t) t; |
348 | 348 | ||
349 | /* Init debugging stuff */ |
349 | /* Init debugging stuff */ |
350 | waitq_initialize(&t->go_wq); |
350 | udebug_thread_initialize(&t->udebug); |
351 | t->debug_go_call = NULL; |
- | |
352 | t->uspace_state = NULL; |
- | |
353 | t->debug_stop = true; |
- | |
354 | t->debug_stoppable = true; |
- | |
355 | t->debug_active = false; |
- | |
356 | t->cur_event = 0; /* none */ |
- | |
357 | 351 | ||
358 | /* might depend on previous initialization */ |
352 | /* might depend on previous initialization */ |
359 | thread_create_arch(t); |
353 | thread_create_arch(t); |
360 | 354 | ||
361 | if (!(flags & THREAD_FLAG_NOATTACH)) |
355 | if (!(flags & THREAD_FLAG_NOATTACH)) |