On Wed, Dec 12, 2012 at 1:53 PM, MRAB <pyt...@mrabarnett.plus.com> wrote: > You could try a non-blocking semaphore: > > def __init__(self): > self.cameraActive = Semaphore()
Why a Semaphore and not just a plain old Lock? -- http://mail.python.org/mailman/listinfo/python-list