Rev 2808 | Rev 2825 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2808 | Rev 2817 | ||
|---|---|---|---|
| Line 340... | Line 340... | ||
| 340 | t->fpu_context_engaged = 0; |
340 | t->fpu_context_engaged = 0; |
| 341 | 341 | ||
| 342 | avltree_node_initialize(&t->threads_tree_node); |
342 | avltree_node_initialize(&t->threads_tree_node); |
| 343 | t->threads_tree_node.key = (uintptr_t) t; |
343 | t->threads_tree_node.key = (uintptr_t) t; |
| 344 | 344 | ||
| - | 345 | /* Init debugging stuff */ |
|
| 345 | waitq_initialize(&t->go_wq); |
346 | waitq_initialize(&t->go_wq); |
| - | 347 | t->uspace_state = NULL; |
|
| 346 | 348 | ||
| 347 | /* might depend on previous initialization */ |
349 | /* might depend on previous initialization */ |
| 348 | thread_create_arch(t); |
350 | thread_create_arch(t); |
| 349 | 351 | ||
| 350 | if (!(flags & THREAD_FLAG_NOATTACH)) |
352 | if (!(flags & THREAD_FLAG_NOATTACH)) |