Skip to main content

Module thread

Module thread 

Source
Available on non-target_family=wasm only.
Expand description

A thread that must keep up with a realtime producer.

An audio callback fills a bounded ring from a realtime thread. At the default class, a saturated CPU leaves the thread draining it unscheduled for longer than the ring holds.

Functionsยง

raise_scheduling_classNon-Apple
This platform has no unprivileged way to lift a thread.