gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r13542 - gnunet/src/util
Date: Wed, 3 Nov 2010 22:41:22 +0100

Author: grothoff
Date: 2010-11-03 22:41:22 +0100 (Wed, 03 Nov 2010)
New Revision: 13542

Modified:
   gnunet/src/util/test_os_priority.c
Log:
fix

Modified: gnunet/src/util/test_os_priority.c
===================================================================
--- gnunet/src/util/test_os_priority.c  2010-11-03 21:38:45 UTC (rev 13541)
+++ gnunet/src/util/test_os_priority.c  2010-11-03 21:41:22 UTC (rev 13542)
@@ -30,7 +30,6 @@
 static int
 testprio ()
 {
-  pid_t child;
   if (GNUNET_OK !=
       GNUNET_OS_set_process_priority (GNUNET_OS_process_current (),
                                       GNUNET_SCHEDULER_PRIORITY_DEFAULT))
@@ -55,17 +54,6 @@
       GNUNET_OS_set_process_priority (GNUNET_OS_process_current (),
                                       GNUNET_SCHEDULER_PRIORITY_HIGH))
     return 1;
-#ifndef MINGW
-  child = fork ();
-  if (child == 0)
-    {
-      sleep (10);
-      exit (0);
-    }
-  if (GNUNET_OK !=
-      GNUNET_OS_set_process_priority (child, GNUNET_SCHEDULER_PRIORITY_IDLE))
-    return 1;
-#endif
   return 0;
 }
 




reply via email to

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