apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1481267 - in /apr/apr/branches/1.4.x: ./ threadproc/unix/thread.c
Date Sat, 11 May 2013 07:51:20 GMT
Author: rjung
Date: Sat May 11 07:51:20 2013
New Revision: 1481267

URL: http://svn.apache.org/r1481267
Log:
Followup on r1481264: use already existing
platform independent macro instead of pthread
define.

Backport of r1481265 from trunk resp.
r1481266 from 1.5.x.

Modified:
    apr/apr/branches/1.4.x/   (props changed)
    apr/apr/branches/1.4.x/threadproc/unix/thread.c

Propchange: apr/apr/branches/1.4.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1481265

Modified: apr/apr/branches/1.4.x/threadproc/unix/thread.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/threadproc/unix/thread.c?rev=1481267&r1=1481266&r2=1481267&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/threadproc/unix/thread.c (original)
+++ apr/apr/branches/1.4.x/threadproc/unix/thread.c Sat May 11 07:51:20 2013
@@ -96,7 +96,7 @@ APR_DECLARE(apr_status_t) apr_threadattr
 #else
     pthread_attr_getdetachstate(&attr->attr, &state);
 #endif
-    if (state == PTHREAD_CREATE_DETACHED)
+    if (state == DETACH_ARG(1))
         return APR_DETACH;
     return APR_NOTDETACH;
 }



Mime
View raw message