(self, callback, args, loop, context=None)
| 116 | __slots__ = ('_lock',) |
| 117 | |
| 118 | def __init__(self, callback, args, loop, context=None): |
| 119 | super().__init__(callback, args, loop, context) |
| 120 | self._lock = threading.RLock() |
| 121 | |
| 122 | def cancel(self): |
| 123 | with self._lock: |