Message71540
| Author |
vstinner |
| Recipients |
Rhamphoryncus, giampaolo.rodola, gregory.p.smith, jcea, pitrou, sserrano, vstinner |
| Date |
2008年08月20日.13:49:36 |
| SpamBayes Score |
0.0002898226 |
| Marked as misclassified |
No |
| Message-id |
<1219240181.75.0.826039026819.issue3001@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|