[issue12352] multiprocessing.Value() hangs

2011-06-21 Thread greg.ath
greg.ath added the comment: Hi, I also wonder about the performance cost of a recursive lock. I am still unable to reproduce the bug in a simple script. Looking closely to the gdb stack, there is that frame: Frame 0x13be190, for file /usr/lib/python2.6/multiprocessing/heap.py, line 173 I

[issue12352] multiprocessing.Value() hangs

2011-06-17 Thread greg.ath
New submission from greg.ath : Hi, My multithreaded application uses multithreading.Value() to ensure thread-safe operations on shared data. For unexpected reasons, after some change in my code, the function will consistently hang. I did a gdb backtrace of the hanging process, and I