apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr configure.in
Date Mon, 30 Jul 2001 17:31:54 GMT
trawick     01/07/30 10:31:54

  Modified:    .        configure.in
  Log:
  if your system has pthread_mutexattr_setrobust_np()* we'll use it, but
  we shouldn't require it in order to support cross process pthread mutexes
  
  (i.e., Solaris)
  
  Revision  Changes    Path
  1.348     +2 -2      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.347
  retrieving revision 1.348
  diff -u -r1.347 -r1.348
  --- configure.in	2001/07/27 10:22:04	1.347
  +++ configure.in	2001/07/30 17:31:54	1.348
  @@ -1041,7 +1041,7 @@
   # note: the current APR use of shared mutex requires /dev/zero
   APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED dnl
                func:pthread_mutexattr_setpshared dnl
  -             func:pthread_mutexattr_setrobust_np file:/dev/zero,
  +             file:/dev/zero,
                hasprocpthreadser="1", hasprocpthreadser="0")
   APR_IFALLYES(struct:pthread_rw, hasrwlockser="1", hasrwlockser="0")
   
  @@ -1057,7 +1057,7 @@
   # note: the current APR use of shared mutex requires /dev/zero
   APR_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED dnl
               func:pthread_mutexattr_setpshared dnl
  -            func:pthread_mutexattr_setrobust_np file:/dev/zero,
  +            file:/dev/zero,
               APR_DECIDE(USE_PROC_PTHREAD_SERIALIZE, [pthread mutex]))
   if test "x$apr_lock_method" != "x"; then
       APR_DECISION_FORCE($apr_lock_method)
  
  
  

Mime
View raw message