|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
strong |
| Enumerator | |
|---|---|
| SAMPLE_ACCURATE | Coroutine is sample-accurate. |
| FRAME_ACCURATE | Coroutine is frame-accurate. |
| EVENT_DRIVEN | Event-driven execution - process when events arrive. Unlike FRAME_ACCURATE (which waits for vsync) or SAMPLE_ACCURATE (which waits for audio callback), EVENT_DRIVEN coroutines resume whenever their associated events fire. Used for input handling, UI interactions, or any sporadic/asynchronous processing. |
| MULTI_RATE | Coroutine can handle multiple sample rates. Picks the frame-accurate processing token by default. |
| ON_DEMAND | Coroutine is executed on demand, not scheduled. |
| CONDITIONAL | Condition-driven execution - resume when a caller-supplied predicate returns true. FreeRoutine coroutines carry this token. The scheduler owns a dedicated thread for this domain that loops continuously, calling try_resume() on each CONDITIONAL task. try_resume() evaluates the condition stored in the promise by the most recent ConditionAwaiter; if it returns true the coroutine is resumed on the scheduler thread. No clock is created for this domain. |
| CUSTOM | |
Definition at line 5 of file ProcessingTokens.hpp.