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