Message171914
I don't like the API. Why should I write "rwlock.acquire_read()" instead of "rwlock.reader.acquire()"? There should be one obvious way to do it.
The fact that "reader_lock" and "writer_lock" return a new object every time is a bit suboptimal, IMO.
Also, RWLockBase should be private (_RWLockBase).
Ah, and the patch needs docs :) |
|
Date |
User |
Action |
Args |
2012-10-04 01:02:48 | pitrou | set | recipients:
+ pitrou, kristjan.jonsson, christian.heimes, jyasskin, asvetlov, neologix, sbt, mklauber, Sebastian.Noack |
2012-10-04 01:02:48 | pitrou | set | messageid: <1349312568.09.0.596815132763.issue8800@psf.upfronthosting.co.za> |
2012-10-04 01:02:48 | pitrou | link | issue8800 messages |
2012-10-04 01:02:47 | pitrou | create | |
|