Message78771
Here is a small test-script with concurrent access to a single
compressosbj. The original patch will immediately deadlock.
The patch attached releases the GIL before trying to get the zlib-lock.
This allows the other thread to release the zlib-lock but comes at the
cost of one additional GIL lock/unlock. |
|
Date |
User |
Action |
Args |
2009-01-02 10:38:18 | ebfe | set | recipients:
+ ebfe, pitrou, vstinner |
2009-01-02 10:38:18 | ebfe | set | messageid: <1230892698.23.0.334663129664.issue4738@psf.upfronthosting.co.za> |
2009-01-02 10:38:17 | ebfe | link | issue4738 messages |
2009-01-02 10:38:17 | ebfe | create | |
|