Problem with multithreading

Scott David Daniels Scott.Daniels at Acm.Org
Thu Jun 25 01:12:25 EDT 2009


Jeffrey Barish wrote:
> Jeffrey Barish wrote:
>>
>> print "about to try"
>> try:
>>     print "in try"
>>     <do something>
....
> 
> As I ponder this problem, I am beginning to believe that the problem is not
> related to multithreading.  If the problem were due to a collision between
> the two threads then timing would matter, yet I find that the program
> always freezes at exactly the same statement (which executes perfectly
> hundreds of times before the freeze).  Moreover, the test program that I
> wrote to test the multithreading implementation works perfectly. And
> finally, there is nothing going on related to multithreading at this point
> in the code.  Why else might the program freeze at a try statement?

Or a print statement or ...
We need more clues than three lines of source.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list