/branches/tracing/kernel/generic/src/proc/thread.c |
---|
358,16 → 358,6 |
return t; |
} |
/** Destroy thread structure of an unattached thread. |
* |
* Thread t must only have been created and never attached. |
*/ |
void thread_unattached_free(thread_t *t) |
{ |
slab_free(thread_slab, t); |
} |
/** Destroy thread memory structure |
* |
* Detach thread from all queues, cpus etc. and destroy it. |