Message168098
| Author |
r.david.murray |
| Recipients |
jjdominguezm, r.david.murray |
| Date |
2012年08月13日.12:52:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1344862330.52.0.276495473924.issue15634@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Writing such a decorator is pretty trivial to do. On the other hand, I've done it often enough that I could be convinced it is useful to add.
I think it would be better to have a decorator generator that takes a lock as its argument, however, since an application might well want to use the same lock for sections that it doesn't make sense to decorate, or use an RLock instead of a lock. If no lock is passed, a default Lock could be created. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月13日 12:52:10 | r.david.murray | set | recipients:
+ r.david.murray, jjdominguezm |
| 2012年08月13日 12:52:10 | r.david.murray | set | messageid: <1344862330.52.0.276495473924.issue15634@psf.upfronthosting.co.za> |
| 2012年08月13日 12:52:09 | r.david.murray | link | issue15634 messages |
| 2012年08月13日 12:52:09 | r.david.murray | create |
|