Aaron Bannert wrote:
> 
> The question is if APR can support semaphores to be used as mutexes w/o
> SEM_UNDO, and if it can will it be safe?

Doesn't look like it... very, very weird.

> 
> BTW, what does `grep SERIALIZE include/apr.h` produce on your darwin box?
> 

On mine:
./srclib/apr/include/apr.h:#define APR_USE_FLOCK_SERIALIZE           0 
./srclib/apr/include/apr.h:#define APR_USE_SYSVSEM_SERIALIZE         0
./srclib/apr/include/apr.h:#define APR_USE_FCNTL_SERIALIZE           1
./srclib/apr/include/apr.h:#define APR_USE_PROC_PTHREAD_SERIALIZE    0 
./srclib/apr/include/apr.h:#define APR_USE_PTHREAD_SERIALIZE         1 
./srclib/apr/include/apr.h:#define APR_HAS_FLOCK_SERIALIZE           1
./srclib/apr/include/apr.h:#define APR_HAS_SYSVSEM_SERIALIZE         0
./srclib/apr/include/apr.h:#define APR_HAS_FCNTL_SERIALIZE           1
./srclib/apr/include/apr.h:#define APR_HAS_PROC_PTHREAD_SERIALIZE    0
./srclib/apr/include/apr.h:#define APR_HAS_RWLOCK_SERIALIZE          0


-- 
===========================================================================
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Reply via email to