Expand description
Coalesced wake bridge implementing std::task::Wake for async app tasks and background
network/pairing workers, with synchronized callback teardown so hosts can safely free wake
callback contexts immediately after clear_sink() / set_wake_callback(NULL) / destroy().
Structs§
- AppWake
- An app’s async-task waker: a
WakeBridge::detachable_wakerplus its bridge, re-targetable to the runtime’s single bridge viaSelf::install. Every in-process app frontend (ReactiveRuntimeApp,NvAppAdapter) polls its tasks withSelf::waker, so a task woken off-dispatch (a timer, a fetch) triggers the host’s frame request. - Wake
Bridge - Coalesced cross-thread wake notifier shared by in-process async frontends (
ReactiveRuntimeApp), background workers, and the C ABIset_wake_callbackhook. - Wake
Defer Guard - RAII deferral guard that postpones synchronous
WakeCallbackinvocations while a surface write lock is held, flushing one coalesced wake strictly after the outermost guard drops. - Wake
Token - RAII lifetime token paired with a
Wakercreated byWakeBridge::detachable_waker.
Type Aliases§
- Wake
Callback - Shared callback invoked when a surface needs the host event loop to schedule a tick.