fixed pthread locking ifdef bug

This commit is contained in:
Unbit
2013-02-27 04:10:20 +01:00
parent 3c810e5ca8
commit b8dfd1be85
+1 -1
View File
@@ -99,7 +99,7 @@ retry:
exit(1);
}
if (uwsgi_pthread_robust_mutexes_enabled) {
if (pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_NP)) {
if (pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST)) {
uwsgi_log("unable to make the mutex 'robust'\n");
exit(1);
}