Message71626
Selon STINNER Victor <report@bugs.python.org>:
>
> So if we consider that RLock is fast enough (see my C version of RLokc
> in #3001), we can use RLock instead of Lock to avoid this issue. Here
> is a patch to use RLock and also including an unit test of this issue.
I tried your test and it seems to lock when using the Python implementation of
RLock, but perhaps it's precisely because the implementation is in Python.
Also, your RLock implementation has to be finished before going further ;)
(see my comments in #3001) |
|
Date |
User |
Action |
Args |
2008-08-21 12:20:07 | pitrou | set | recipients:
+ pitrou, gregory.p.smith, vstinner |
2008-08-21 12:20:04 | pitrou | link | issue3618 messages |
2008-08-21 12:20:04 | pitrou | create | |
|