apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Posix sems still not recommended?
Date Mon, 30 Mar 2009 18:50:30 GMT

On Mar 30, 2009, at 2:33 PM, Jeff Trawick wrote:

>
>
> On Mon, Mar 30, 2009 at 2:07 PM, Jim Jagielski <jim@jagunet.com>  
> wrote:
> Anyone know if:
>
>  # POSIX semaphores and cross-process pthread mutexes are not
>  # used by default since they have less desirable behaviour when
>  # e.g. a process holding the mutex segfaults.
>
> is still applicable, at least for posix sems?
>
> AFAIK, the Solaris-specific recovery logic for cross-process pthread  
> mutexes has been working reliably for a long time, but with the  
> current wind direction APR is choosing fcntl(), which has sysdef  
> implementations on that platform.
>
> no clues here about the POSIX semaphores

OS X has Posix (and that's why I added them) and I can't
recreate any sort of doomsday scenario by causing segfaults
at "inopportune" times.

Anyone opposed if we, at least for 2.0/trunk, allow both to
be defaults?

Mime
View raw message