On Sat, 2002-11-16 at 17:39, Aaron Bannert wrote: > Looks like a bug to me. Any reason we need nested locks on cross-process > mutexes? I'm tempted to just rip out that part and see what breaks.
Intraprocess mutexes have the same problem. Because mutex->owner is of type apr_os_thread_t, there's no guarantee that it's small enough to be read or written atomically. Brian