Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1575 → Rev 1576

/kernel/trunk/generic/src/main/kinit.c
82,6 → 82,11
thread_t *t;
task_t *utask;
 
/*
* Detach kinit as nobody will call thread_join_timeout() on it.
*/
thread_detach(THREAD);
 
interrupts_disable();
 
#ifdef CONFIG_SMP
98,9 → 103,11
t->cpu = &cpus[0];
spinlock_unlock(&t->lock);
thread_ready(t);
waitq_sleep(&kmp_completion_wq);
}
else panic("thread_create/kmp\n");
else {
panic("thread_create/kmp\n");
}
thread_join(t);
}
#endif /* CONFIG_SMP */
/*
/kernel/trunk/generic/src/proc/scheduler.c
516,6 → 516,11
int count, average, i, j, k = 0;
ipl_t ipl;
 
/*
* Detach kcpulb as nobody will call thread_join_timeout() on it.
*/
thread_detach(THREAD);
loop:
/*
* Work in 1s intervals.