aboutsummaryrefslogtreecommitdiffstats
path: root/main/uwsgi/musl-locking-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/uwsgi/musl-locking-fix.patch')
-rw-r--r--main/uwsgi/musl-locking-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/uwsgi/musl-locking-fix.patch b/main/uwsgi/musl-locking-fix.patch
new file mode 100644
index 0000000000..ba4a474ad0
--- /dev/null
+++ b/main/uwsgi/musl-locking-fix.patch
@@ -0,0 +1,12 @@
+--- uwsgi-2.0.4.orig/core/lock.c
++++ uwsgi-2.0.4/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)) {