apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r472590 - in /apr/apr/branches/0.9.x: CHANGES build/apr_threads.m4
Date Wed, 08 Nov 2006 18:56:14 GMT
Author: jorton
Date: Wed Nov  8 10:56:13 2006
New Revision: 472590

URL: http://svn.apache.org/viewvc?view=rev&rev=472590
Log:
Merge r415267 from trunk:

* build/apr_threads.m4 (APR_CHECK_PTHREAD_ROBUST_SHARED_MUTEX): 
Fix detection of robust cross-process pthread mutexes.

PR: 39833
Submitted by: Tsuyoshi SASAMOTO <nazonazo miobox.jp>

Modified:
    apr/apr/branches/0.9.x/CHANGES
    apr/apr/branches/0.9.x/build/apr_threads.m4

Modified: apr/apr/branches/0.9.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/CHANGES?view=diff&rev=472590&r1=472589&r2=472590
==============================================================================
--- apr/apr/branches/0.9.x/CHANGES (original)
+++ apr/apr/branches/0.9.x/CHANGES Wed Nov  8 10:56:13 2006
@@ -1,5 +1,8 @@
 Changes with APR 0.9.13
 
+  *) Fix detection of pthread cross-process robust mutexes.
+     PR 39833.  [Tsuyoshi SASAMOTO <nazonazo miobox.jp>]
+
   *) Correctly retrieve 'empty' environment values with apr_env_get
      on Win32 (e.g. "VAR="), and added validation to testall suite.  
      PR 40764.  [Issac Goldstand <margol beamartyr.net>]

Modified: apr/apr/branches/0.9.x/build/apr_threads.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/build/apr_threads.m4?view=diff&rev=472590&r1=472589&r2=472590
==============================================================================
--- apr/apr/branches/0.9.x/build/apr_threads.m4 (original)
+++ apr/apr/branches/0.9.x/build/apr_threads.m4 Wed Nov  8 10:56:13 2006
@@ -248,7 +248,7 @@
         exit(2);
     if (pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_NP))
         exit(3);
-    if (pthread_mutexattr_setprotocol(&mattr, PTHREAD_PRIO_INHERIT))
+    if (pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT))
         exit(4);
     if (pthread_mutex_init(&mutex, &attr))
         exit(5);



Mime
View raw message