> return result   before that line, some other thread added a value !

Sure, but that is the nature of using threads and a mutex.  I hope you are
you not saying that every function that uses a mutex should have a comment
saying this is not "reliable"?

Olaf


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

Reply via email to