[master] 881dcc3 Remove a pseudo-bogus test for pthreads in the manager process.

Poul-Henning Kamp phk at varnish-cache.org
Mon Dec 10 11:54:24 CET 2012


commit 881dcc3d7e2384ccf6f56de162ceebbe75d68384
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Dec 10 10:53:03 2012 +0000

    Remove a pseudo-bogus test for pthreads in the manager process.
    
    The subsequent cleanup/separation of .h files makes this test
    much less important, and it's not like it is a conclusive or
    comprehensive test in the first place.
    
    Fixes	#1230

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 1b7f1e3..fe6e489 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -655,7 +655,3 @@ main(int argc, char * const *argv)
 		(void)VPF_Remove(pfh);
 	exit(exit_status);
 }
-
-#if defined(PTHREAD_CANCELED) || defined(PTHREAD_MUTEX_DEFAULT)
-#error "Keep pthreads out of in manager process"
-#endif



More information about the varnish-commit mailing list