[master] ef4dc6e Lck_ operations are limited to varnishd

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Mar 13 11:33:05 CET 2017


commit ef4dc6eaeaaeaa4e1c16c39ad25c11cd8dbe1930
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Mar 13 11:28:10 2017 +0100

    Lck_ operations are limited to varnishd

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index edb9044..19cbc33 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -357,7 +357,6 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
 	if (vsl_ts > vsl_to) {
 		double when = VTIM_real() + vsl_ts - vsl_to;
 		struct timespec ts;
-		// Lck_CondWait
 		ts.tv_nsec = (long)(modf(when, &t) * 1e9);
 		ts.tv_sec = (long)t;
 		i = pthread_cond_timedwait(&timebend_cv, &mtx, &ts);



More information about the varnish-commit mailing list