[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4884
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4884 |
Date: |
Sun, 12 Feb 2017 09:42:27 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 2e826fb4 fix #4884
2e826fb4 is described below
commit 2e826fb4ee4dca7fa66f6bb48f2a2bdbe333dce7
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 12 09:42:23 2017 +0100
fix #4884
---
src/testcurl/perf_get_concurrent.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/testcurl/perf_get_concurrent.c
b/src/testcurl/perf_get_concurrent.c
index d75feb75..d44f6574 100644
--- a/src/testcurl/perf_get_concurrent.c
+++ b/src/testcurl/perf_get_concurrent.c
@@ -338,7 +338,13 @@ testExternalGet (int port)
return 512;
}
start_timer ();
- while (ESRCH != pthread_kill (pid, 0))
+ /* detach so that pthread_kill detection works on Solaris (#4884) */
+ if (0 != pthread_detach(pid))
+ {
+ MHD_stop_daemon(d);
+ return 512;
+ }
+ while (ESRCH != pthread_kill (pid, 0))
{
max = 0;
FD_ZERO (&rs);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4884,
gnunet <=