apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <brian.p...@cnet.com>
Subject Re: apr_proc_mutex is broken
Date Sun, 17 Nov 2002 02:05:05 GMT
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



Mime
View raw message