projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f9ae35
)
bsd is broken
author
Christian Grothoff
<christian@grothoff.org>
Wed, 21 Apr 2010 08:13:44 +0000
(08:13 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 21 Apr 2010 08:13:44 +0000
(08:13 +0000)
src/util/os_priority.c
patch
|
blob
|
history
diff --git
a/src/util/os_priority.c
b/src/util/os_priority.c
index b0f2b31294ea187d90a5b059f313f0fd4f36c9e1..3b04555d1ccbcaa391b989e33ec131c988bdcc4e 100644
(file)
--- a/
src/util/os_priority.c
+++ b/
src/util/os_priority.c
@@
-118,7
+118,7
@@
GNUNET_OS_set_process_priority (pid_t proc,
/* Set process priority */
#ifdef MINGW
SetPriorityClass (GetCurrentProcess (), rprio);
-#el
se
+#el
if LINUX
if ( (0 == proc) ||
(proc == getpid () ) )
{
@@
-144,6
+144,9
@@
GNUNET_OS_set_process_priority (pid_t proc,
return GNUNET_SYSERR;
}
}
+#else
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG | GNUNET_ERROR_TYPE_BULK,
+ "Priority management not availabe for this platform\n");
#endif
return GNUNET_OK;
}