Skip to main content

JS_AtomicsPollWaiters

Function JS_AtomicsPollWaiters 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_AtomicsPollWaiters( _ctx: *mut JsContext, ) -> i64
Expand description

JS_AtomicsPollWaiters: how many waiters a SharedArrayBuffer has.

Atomics on a shared buffer need threads this engine does not have (docs/m15-plan.md §5 rejects the worker model), so there is never a waiter.

§Safety

ctx is ignored.