Queue can result in nested monitor deadlock

Jonathan Amsterdam jbamsterdam at gmail.com
Mon Apr 17 12:41:37 EDT 2006


If you don't want to call it deadlock, fine, but the program execution
I describe will make no progress to the end of time. Thread 2 can never
put anything in the queue, because Thread 1 holds M, and Thread 1 will
never release M because that can only happen if someone puts something
on the queue.




More information about the Python-list mailing list