Dear All, I was exploring the threading module and came up with following, after going through @raymondh's talk (https://www.youtube.com/watch?v=Bv25Dwe84g0)
http://pastebin.com/usKE6nME While the code runs fine when ran once or twice, it either deadlocks or waits indefinitely while performing a queue.get() when ran multiple times (in separate invocations of the script, one after another) Can someone help me understand what is specifically wrong in this code? how to debug this sort of behaviour since a simple print would also block, and/or test for race conditions within multithreaded code? (time fuzzing?) Thanks for your help. Best regards Rajesh _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers