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:06:20 GMT
On Sat, Nov 16, 2002 at 06:05:05PM -0800, Brian Pane wrote:
> 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.

apr_thread_mutex_t will have a problem if mutex->nested can not be
atomically loaded. I can't come up with a good way support nested
mutexes w/o introducing another mutex though, any ideas?

-aaron

Mime
View raw message