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:
d8abe51
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Wed, 3 Nov 2010 21:41:22 +0000
(21:41 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 3 Nov 2010 21:41:22 +0000
(21:41 +0000)
src/util/test_os_priority.c
patch
|
blob
|
history
diff --git
a/src/util/test_os_priority.c
b/src/util/test_os_priority.c
index 17874a6ee283db8295dd425212b70f797a79f41f..94e2719a2aa05406a0646c9f2ded8088fb24a437 100644
(file)
--- 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;
}