On Fri, Feb 22, 2002 at 03:57:26PM -0500, Andrew Piskorski wrote:

> Why do I need to use a separate flag value in addition to the mutex?

Oh.  I think I just realized (at least one reason) why.  The flag
value, is so if T2 does its ns_cond broadcast BEFORE T1 starts doing
ns_cond wait, that T1 will know that the event already occurred,
right?  Is that the only reason?

--
Andrew Piskorski <[EMAIL PROTECTED]>
http://www.piskorski.com

Reply via email to