uwsgi: fix patch's whitespace
The intention was always not exit when failed to setprotocol INHERIT
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
--- a/core/lock.c
|
--- a/core/lock.c
|
||||||
+++ b/core/lock.c
|
+++ b/core/lock.c
|
||||||
@@ -96,7 +96,9 @@
|
@@ -108,7 +108,9 @@ retry:
|
||||||
#endif
|
break;
|
||||||
if (pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT)) {
|
default:
|
||||||
uwsgi_log("unable to set PTHREAD_PRIO_INHERIT\n");
|
uwsgi_log("unable to set PTHREAD_PRIO_INHERIT\n");
|
||||||
+#if 0
|
+#if 0
|
||||||
exit(1);
|
exit(1);
|
||||||
+#endif
|
+#endif
|
||||||
}
|
}
|
||||||
if (uwsgi_pthread_robust_mutexes_enabled) {
|
}
|
||||||
if (pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST)) {
|
if (pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user