[master] 58eb9a5 Whatever it was, this is OK under OSX now
Federico G. Schwindt
fgsch at lodoss.net
Mon Nov 13 09:10:05 UTC 2017
commit 58eb9a54344c2944c69a614cb3243631580ed0d1
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Mon Nov 13 08:47:23 2017 +0000
Whatever it was, this is OK under OSX now
diff --git a/bin/varnishd/cache/cache_lck.c b/bin/varnishd/cache/cache_lck.c
index 05086d9..d9bd7ff 100644
--- a/bin/varnishd/cache/cache_lck.c
+++ b/bin/varnishd/cache/cache_lck.c
@@ -264,9 +264,7 @@ LCK_Init(void)
{
AZ(pthread_mutexattr_init(&attr));
-#if !defined(__APPLE__) && !defined(__MACH__)
AZ(pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK));
-#endif
#define LOCK(nam) lck_##nam = Lck_CreateClass(#nam);
#include "tbl/locks.h"
}
More information about the varnish-commit
mailing list