Module: cogen.core.util
Mischelaneous or common.
Classes
priority
How these priority flags are interpreted depends largely on the operation (since that's where these are checked).
| Property | Description |
|---|---|
| DEFAULT | Use the default_priority set in the Scheduler |
| LAST, | |
| NOPRIO | Allways scheduler the operation/coroutine at the end of the queue |
| CORO | Favor the coroutine - if it's the case. |
| OP | Favor the operation - if it's the case. |
| FIRST, | |
| PRIO | Allways schedule with priority |
Functions
debug (trace=True, backtrace=1, other=None)
A decorator for debugging purposes. Shows the call arguments, result and instructions as they are runned.