Rev 2839 | Rev 2854 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2839 | Rev 2848 | ||
|---|---|---|---|
| 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"); |
|
| - | 180 | ||
| 179 | return 0; |
181 | return 0; |
| 180 | } |
182 | } |
| 181 | 183 | ||
| 182 | /** Destruction of thread_t object */ |
184 | /** Destruction of thread_t object */ |
| 183 | static int thr_destructor(void *obj) |
185 | static int thr_destructor(void *obj) |