diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-17 13:56:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-17 13:56:57 +0000 |
commit | 246986cefd291da3f5d3221e52c1de3eacb3c2ff (patch) | |
tree | 513cc38a43efc634984938aede86b815ec8aafe0 | |
parent | 98d4ced2b3d654cb06d2b68af1290979dfd424b9 (diff) | |
download | gnunet-246986cefd291da3f5d3221e52c1de3eacb3c2ff.tar.gz gnunet-246986cefd291da3f5d3221e52c1de3eacb3c2ff.zip |
-use blocking wait as the pipe might be faster than the process cleanup
-rw-r--r-- | src/util/os_priority.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index 850378c26..88eee70dd 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -1580,8 +1580,6 @@ GNUNET_OS_process_status (struct GNUNET_OS_Process *proc, | |||
1580 | 1580 | ||
1581 | GNUNET_assert (0 != proc); | 1581 | GNUNET_assert (0 != proc); |
1582 | ret = waitpid (proc->pid, &status, WNOHANG); | 1582 | ret = waitpid (proc->pid, &status, WNOHANG); |
1583 | fprintf (stderr, "Waitpid %d returned %d\n", | ||
1584 | proc->pid, ret); | ||
1585 | if (ret < 0) | 1583 | if (ret < 0) |
1586 | { | 1584 | { |
1587 | LOG_STRERROR (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 1585 | LOG_STRERROR (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |