Tim Peters wrote:

>> I'm guessing no, since it skips down through any Lock semantics,
> 
> Good guess :-)  It's also unsafe because some internal conditions must
> be notified whenever the queue becomes empty (else you risk deadlock).

"also" ?  if it weren't for the other things, the clear() call itself 
would have been atomic enough, right ?

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to