Release concurrent resources if acquired. This behavior will fall back to do nothing if there are no concurrent resources.
(self)
| 98 | self.wait() |
| 99 | |
| 100 | def release(self): |
| 101 | """Release concurrent resources if acquired. |
| 102 | |
| 103 | This behavior will fall back to do nothing if there are no concurrent |
| 104 | resources. |
| 105 | """ |
| 106 | if hasattr(self, 'tokens'): |
| 107 | self.tokens.release() |
| 108 | |
| 109 | @abstractmethod |
| 110 | def get_ppl(self, |
no outgoing calls
no test coverage detected