jacinle.concurrency.counter#
Classes
Thread-safe counter-based callback invoker. |
|
Class Counter
Class CounterBasedEvent
- class CounterBasedEvent[source]#
Bases:
object
Thread-safe counter-based callback invoker. When the counter is incremented, the system will check whether the counter has reached a target value. If so, the event will be set.
- __new__(**kwargs)#
Class CounterBasedMonitor