void-packages/srcpkgs/uwsgi/patches/musl-locking-fix.patch
2015-08-04 16:51:57 +00:00

12 lines
324 B
Diff

--- core/lock.c
+++ core/lock.c
@@ -96,7 +96,9 @@
#endif
if (pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT)) {
uwsgi_log("unable to set PTHREAD_PRIO_INHERIT\n");
+#if 0
exit(1);
+#endif
}
if (uwsgi_pthread_robust_mutexes_enabled) {
if (pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST)) {