Returns a condition object
(self, lock=None)
| 73 | return RLock(ctx=self.get_context()) |
| 74 | |
| 75 | def Condition(self, lock=None): |
| 76 | '''Returns a condition object''' |
| 77 | from .synchronize import Condition |
| 78 | return Condition(lock, ctx=self.get_context()) |
| 79 | |
| 80 | def Semaphore(self, value=1): |
| 81 | '''Returns a semaphore object''' |