gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11000 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r11000 - gnunet/src/util
Date: Wed, 21 Apr 2010 10:13:44 +0200

Author: grothoff
Date: 2010-04-21 10:13:44 +0200 (Wed, 21 Apr 2010)
New Revision: 11000

Modified:
   gnunet/src/util/os_priority.c
Log:
bsd is broken

Modified: gnunet/src/util/os_priority.c
===================================================================
--- gnunet/src/util/os_priority.c       2010-04-21 08:13:08 UTC (rev 10999)
+++ gnunet/src/util/os_priority.c       2010-04-21 08:13:44 UTC (rev 11000)
@@ -118,7 +118,7 @@
   /* Set process priority */
 #ifdef MINGW
   SetPriorityClass (GetCurrentProcess (), rprio);
-#else
+#elif LINUX
   if ( (0 == proc) ||
        (proc == getpid () ) )
     {
@@ -144,6 +144,9 @@
           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;
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]