apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r415268 - in /apr/apr/branches/1.2.x: CHANGES build/apr_threads.m4
Date Mon, 19 Jun 2006 09:24:03 GMT
Author: jorton
Date: Mon Jun 19 02:24:02 2006
New Revision: 415268

URL: http://svn.apache.org/viewvc?rev=415268&view=rev
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/1.2.x/CHANGES
    apr/apr/branches/1.2.x/build/apr_threads.m4

Modified: apr/apr/branches/1.2.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/CHANGES?rev=415268&r1=415267&r2=415268&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/CHANGES (original)
+++ apr/apr/branches/1.2.x/CHANGES Mon Jun 19 02:24:02 2006
@@ -1,5 +1,8 @@
 Changes for APR 1.2.8
 
+  *) Fix detection of pthread cross-process robust mutexes.
+     PR 39833.  [Tsuyoshi SASAMOTO <nazonazo miobox.jp>]
+
   *) NetBSD: Avoid leaving zombie process when using apr_signal() 
      to ignore SIGCHLD.  PR 36750.  [Todd Vierling <tv pobox.com>]
 

Modified: apr/apr/branches/1.2.x/build/apr_threads.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/build/apr_threads.m4?rev=415268&r1=415267&r2=415268&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/build/apr_threads.m4 (original)
+++ apr/apr/branches/1.2.x/build/apr_threads.m4 Mon Jun 19 02:24:02 2006
@@ -263,7 +263,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