mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 19:03:15 +01:00
Removed zombie test and any verbose printks
This commit is contained in:
@@ -171,8 +171,6 @@ void task_make_zombie(struct ktcb *task)
|
||||
wake_up_all(&task->wqh_send, 0);
|
||||
wake_up_all(&task->wqh_recv, 0);
|
||||
|
||||
printk("Thread (%d) becoming zombie. (Current: (%d))\n", task->tid, current->tid);
|
||||
|
||||
BUG_ON(!(task->flags & TASK_EXITING));
|
||||
|
||||
/* Add to zombie list, to be destroyed later */
|
||||
@@ -221,7 +219,6 @@ int task_resume(struct ktcb *task)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/* Runs a thread for the first time */
|
||||
int thread_start(struct task_ids *ids)
|
||||
{
|
||||
@@ -434,8 +431,6 @@ static inline int thread_destroy(struct task_ids *ids)
|
||||
{
|
||||
struct ktcb *task;
|
||||
|
||||
printk("%s: Destroying (%d)\n", __FUNCTION__, ids->tid);
|
||||
|
||||
if (!(task = tcb_find(ids->tid)))
|
||||
return -ESRCH;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user