Author sbt
Recipients Sebastian.Noack, asvetlov, jyasskin, kristjan.jonsson, mklauber, pitrou, sbt
Date 2012-10-01.10:01:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349085691.57.0.845844870872.issue8800@psf.upfronthosting.co.za>
In-reply-to
Content
> With this, you are stuck with employing a context manager model only.  
> You loose the flexibility to do explicit acquire_read() or 
> acquire_write().

You are not restricted to the context manager model.  Just use selock.shared.acquire() or selock.exclusive.acquire().
History
Date User Action Args
2012-10-01 10:01:31sbtsetrecipients: + sbt, pitrou, kristjan.jonsson, jyasskin, asvetlov, mklauber, Sebastian.Noack
2012-10-01 10:01:31sbtsetmessageid: <1349085691.57.0.845844870872.issue8800@psf.upfronthosting.co.za>
2012-10-01 10:01:31sbtlinkissue8800 messages
2012-10-01 10:01:31sbtcreate