[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/services/strigi
From: Patrick Spendrin <ps_ml () gmx ! de>
Date: 2009-10-01 0:00:50
Message-ID: 1254355250.619870.23241.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029890 by sengels:
disable priority support for now; it can be implemented on windows with
http://msdn.microsoft.com/en-us/library/ms686219%28VS.85%29.aspx
M +6 -1 priority.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/services/strigi/priority.cpp #1029889:1029890
@@ -31,12 +31,13 @@
#include <sys/resource.h>
#include <unistd.h>
+#ifndef _WIN32
#include <sys/syscall.h>
#include <errno.h>
#include <sched.h>
+#endif
-
#ifdef SYS_ioprio_set
namespace {
#ifndef IOPRIO_CLASS_IDLE
@@ -82,7 +83,11 @@
bool lowerPriority()
{
+#ifndef Q_OS_WIN
return !setpriority( PRIO_PROCESS, 0, 19 );
+#else
+ return false;
+#endif
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic