No need to have the kernel daemon run immediately.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9855 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-11-08 14:03:19 +00:00
parent 07bdb9c6ea
commit a13f918460
+6 -3
View File
@@ -1,11 +1,12 @@
/*
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
#include <KernelExport.h>
#include <malloc.h>
#include <signal.h>
#include <kernel_daemon.h>
#include <lock.h>
@@ -131,5 +132,7 @@ kernel_daemon_init(void)
list_init(&gDaemons);
thread = spawn_kernel_thread(&kernel_daemon, "kernel daemon", B_LOW_PRIORITY, NULL);
return resume_thread(thread);
send_signal_etc(thread, SIGCONT, B_DO_NOT_RESCHEDULE);
return B_OK;
}