As of r5507, phk has added a new implementation for systems without
pthread_timedjoin_np. Here's a one-liner to make it actually kill the test
thread upon timeout

Index: bin/varnishtest/vtc.c
===================================================================
--- bin/varnishtest/vtc.c       (revision 5515)
+++ bin/varnishtest/vtc.c       (working copy)
@@ -536,6 +536,7 @@
        (void)x;
        alrm_flag = 1;
        vtc_error = 1;
+       pthread_cancel(vtc_thread);
 }
 #endif
 
_______________________________________________
varnish-dev mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-dev

Reply via email to