On Wed, Jul 23, 2003 at 03:16:07AM +0200, [EMAIL PROTECTED] 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.

joe

Reply via email to