You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2008/02/28 14:46:31 UTC

svn commit: r631971 - /apr/apr/branches/1.2.x/locks/unix/proc_mutex.c

Author: jorton
Date: Thu Feb 28 05:46:28 2008
New Revision: 631971

URL: http://svn.apache.org/viewvc?rev=631971&view=rev
Log:
* locks/unix/proc_mutex.c (proc_mutex_proc_pthread_acquire): Fix
  feature macro for use of pthread_mutex_consistent_np, missed in
  original r386364 backport of (r380120, r382030); later fixed
  (silently) on the trunk as part of r385523.

Found by: covener

Modified:
    apr/apr/branches/1.2.x/locks/unix/proc_mutex.c

Modified: apr/apr/branches/1.2.x/locks/unix/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/locks/unix/proc_mutex.c?rev=631971&r1=631970&r2=631971&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/locks/unix/proc_mutex.c (original)
+++ apr/apr/branches/1.2.x/locks/unix/proc_mutex.c Thu Feb 28 05:46:28 2008
@@ -379,7 +379,7 @@
 #ifdef PTHREAD_SETS_ERRNO
         rv = errno;
 #endif
-#ifdef HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP
+#ifdef HAVE_PTHREAD_MUTEX_ROBUST
         /* Okay, our owner died.  Let's try to make it consistent again. */
         if (rv == EOWNERDEAD) {
             pthread_mutex_consistent_np(mutex->pthread_interproc);