Now uses spawn_kernel_thread() instead of spawn_thread().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7911 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d349b8c336
commit
e27f9449fe
@ -6,6 +6,8 @@
|
||||
|
||||
#include <Vector.h>
|
||||
|
||||
#include <KernelExport.h>
|
||||
|
||||
#include "KDiskDevice.h"
|
||||
#include "KDiskDeviceJob.h"
|
||||
#include "KDiskDeviceJobQueue.h"
|
||||
@ -180,7 +182,7 @@ KDiskDeviceJobQueue::Execute()
|
||||
if (fSyncSemaphore < 0)
|
||||
return fSyncSemaphore;
|
||||
// spawn a thread and run it
|
||||
fThread = spawn_thread(_ThreadEntry, "disk device jobber",
|
||||
fThread = spawn_kernel_thread(_ThreadEntry, "disk device jobber",
|
||||
B_NORMAL_PRIORITY, this);
|
||||
if (fThread < 0) {
|
||||
delete_sem(fSyncSemaphore);
|
||||
|
Loading…
Reference in New Issue
Block a user