Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3033 → Rev 3034

/branches/tracing/kernel/generic/src/proc/task.c
177,7 → 177,7
/* Init kbox stuff */
ipc_answerbox_init(&ta->kernel_box, ta);
ta->kb_thread = NULL;
spinlock_initialize(&ta->kb_cleanup_lock, "task_kb_cleanup_lock");
mutex_initialize(&ta->kb_cleanup_lock);
ta->kb_finished = false;
waitq_initialize(&ta->kb_thread_shutdown_wq);
 
/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.