MCPcopy Create free account
hub / github.com/FastLED/FastLED / wakeWaiters

Method wakeWaiters

src/platforms/coroutine_runtime.h:69–69  ·  view source on GitHub ↗

Wake every thread parked in suspendMainthread() early. Used by async callbacks (e.g. JS fetch resolution, JS-side resolvers invoked from the browser main thread) to bring a pthread out of `Atomics.wait` immediately when a Promise becomes resolvable instead of waiting for the poll timeout in fl::platforms::await(). Default is a no-op — only the WASM pthread back-end currently parks on a futex. No

Source from the content-addressed store, hash-verified

67 /// all (Arduino, ESP32 with FreeRTOS) or already round-trip through the
68 /// scheduler that owns the polling loop.
69 virtual void wakeWaiters() FL_NOEXCEPT {}
70
71 /// Check if shutdown has been requested
72 /// Background threads should poll this and exit early when true.

Callers 2

js_fetch_error_callbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected