On Tue, 16 Oct 2001 18:31:46 -0700, Aaron Bannert wrote: >On Wed, Oct 17, 2001 at 01:14:52AM -0000, [EMAIL PROTECTED] wrote: >> bjh 01/10/16 18:14:52 >> >> Modified: locks/os2 thread_mutex.c >> Log: >> Remove FIXME comment. Yes, OS/2 native locks support nesting.
[...] >Sorry, my comment was totally unclear and misleading. I meant to say: > >OS/2 needs to optionally support nested locks depending on if >(flags & APR_THREAD_MUTEX_NESTED) is true. Same goes for the other >platforms -- Unix is taken care of. > >I guess we'd have to ask the converse: Can OS/2 support non-nested locks? Not with the native mutex, no. As I understand it, this is just a performance optimisation so allowing nesting when not actually required won't hurt. However, running without nesting support when it IS required will lead to deadlock. -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | [EMAIL PROTECTED] | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------
