From e27f9449fe16d96dc5b0c7d10451df689c4300c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 11 Jun 2004 15:47:19 +0000 Subject: [PATCH] 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 --- src/kernel/core/disk_device_manager/KDiskDeviceJobQueue.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kernel/core/disk_device_manager/KDiskDeviceJobQueue.cpp b/src/kernel/core/disk_device_manager/KDiskDeviceJobQueue.cpp index a3745fbeea..487364f4b5 100644 --- a/src/kernel/core/disk_device_manager/KDiskDeviceJobQueue.cpp +++ b/src/kernel/core/disk_device_manager/KDiskDeviceJobQueue.cpp @@ -6,6 +6,8 @@ #include +#include + #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);