Message71540
As suggested by pitrou, I wrote an implementation of RLock in C.
Changes to Python version:
- no debug message: i leave the message in #if 0 ... #endif
- acquire() method argument "blocking" is not a keyword
Notes:
- RLock has no docstring!
- In the Python version, RLock._release_save() replaces owner and
counter attributes before release the lock. But releasing the lock may
fails and no the object is in an inconsistent state |
|
| Date |
User |
Action |
Args |
| 2008-08-20 13:49:42 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, jcea, Rhamphoryncus, pitrou, giampaolo.rodola, sserrano |
| 2008-08-20 13:49:41 | vstinner | set | messageid: <[email protected]> |
| 2008-08-20 13:49:40 | vstinner | link | issue3001 messages |
| 2008-08-20 13:49:40 | vstinner | create | |
|