apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject nested mutexes in 1.0 (was Re: cvs commit: apr/locks/unix thread_mutex.c)
Date Mon, 17 Nov 2003 11:11:06 GMT
On Sun, Nov 16, 2003 at 06:25:00PM -0000, Jeff Trawick wrote:
> trawick     2003/11/16 10:25:00
>   Modified:    locks/unix thread_mutex.c
>   Log:
>   thread id is not always a scalar

This nested mutex code still relies on behavior which is either
explicitly "undefined" by POSIX, or it's just wrong.  For 1.0 I think it
would be best not to advertise the APR_THREAD_MUTEX_NESTED flag in the
API.  e.g. remove it from the public header and move it to a private
header to allow the pool-debug code to still build.

Any objections?


View raw message