From 3983c5e290c36014c54acd4a359d8e56dbf35f9a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 3 Nov 2010 21:41:22 +0000 Subject: [PATCH] fix --- src/util/test_os_priority.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/util/test_os_priority.c b/src/util/test_os_priority.c index 17874a6ee..94e2719a2 100644 --- a/src/util/test_os_priority.c +++ b/src/util/test_os_priority.c @@ -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 @@ testprio () 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; } -- 2.25.1