apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: apr_proc_mutex is broken
Date Mon, 18 Nov 2002 02:00:58 GMT
On Sun, Nov 17, 2002 at 12:25:46PM +0000, Philip Martin wrote:
>   $ ./testprocmutex 
>   APR Proc Mutex Test
>   ==============
> 
>   Exclusive lock test
>       Initializing the lock                                   OK
>       Starting all of the processes                           OK
>       Waiting for processes to exit                           OK
>   Locks don't appear to work!  x = 15998 instead of 16000
> 
> The test is multi-process, but the processes are single threaded.  I
> guess the problem lies somewhere in the semaphores, but I don't have
> any experience of using those.

I just ripped out that code, want to give this another try on your
SMP Linux box?

-aaron

Mime
View raw message