Message234926
I am using Python 2.6.5 (we will be upgrading to Python 2.7.9 soon) and I recently ran into this bug.
If I do any locking in a signal handler with RLocks, the entire system can deadlock. I'm using this to serialize my IO so we don't have mismatched lines in our logs. It looks like RLock was implemented in C in 3.2. While I don't care about the performance benefits of that rewrite, having a non-deadlocking RLock implementation would be nice.
Not sure if this issue can be fixed in 2.7, but it would be nice.
C RLock implementation here:
http://bugs.python.org/issue3001 |
|
Date |
User |
Action |
Args |
2015-01-28 23:36:56 | Lothsahn | set | recipients:
+ Lothsahn, jcea, pitrou, vstinner, rbcollins, alex, cvrebert, meador.inge, neologix, Mike.Meyer |
2015-01-28 23:36:56 | Lothsahn | set | messageid: <1422488216.19.0.385576729722.issue13697@psf.upfronthosting.co.za> |
2015-01-28 23:36:56 | Lothsahn | link | issue13697 messages |
2015-01-28 23:36:56 | Lothsahn | create | |
|