super_hydro.contextsΒΆ
Various useful contexts.
Functions
|
Decorator for a context that yeilds an function from a coroutine. |
|
Return True if this is the main thread. |
|
Decorator that suspends signals and passes an interrupted flag to the protected function. |
Classes
|
Wrapper for coroutine contexts that allows them to function as a context but also as a function. |
|
Suspend the various signals during the execution block and a simple mechanism to allow threads to be interrupted. |