apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <da...@jetnet.co.uk>
Subject Re: trylock does not work on RH 9
Date Thu, 24 Jul 2003 10:51:18 GMT
> On Wed, Jul 23, 2003 at 03:16:07AM +0200, apr@insode.de wrote:
> > Hi,
> >
> > I am writing an Apache 2.0 module and have problems with the
mutex_trylock
> > functions.
> >
> > apr_global_mutex_lock() and apr_global_mutex_unlock() work but
> > apr_global_mutex_trylock() segfaults the apache2 childs on my RedHat 9
box.
> >
> > Any help is welcome... is this a bug or do I have to use trylock() with
> > different arguments than lock() ?
>
> This is an APR bug, thanks for the report.  apr_proc_mutex_trylock will
> always segfault in the various Unix implementations, so
> apr_global_mutex_trylock is simply not usable yet unfortunately.

Do we know why and can it be fixed?

david



Mime
View raw message