apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: Posix sems still not recommended?
Date Mon, 30 Mar 2009 18:33:56 GMT
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

-- 
Born in Roswell... married an alien...

Mime
View raw message