Returns a bounded semaphore object
(self, value=1)
| 83 | return Semaphore(value, ctx=self.get_context()) |
| 84 | |
| 85 | def BoundedSemaphore(self, value=1): |
| 86 | '''Returns a bounded semaphore object''' |
| 87 | from .synchronize import BoundedSemaphore |
| 88 | return BoundedSemaphore(value, ctx=self.get_context()) |
| 89 | |
| 90 | def Event(self): |
| 91 | '''Returns an event object''' |