Skip to main content

jit_async_scope_enter

Function jit_async_scope_enter 

Source
#[unsafe(no_mangle)]
pub extern "C" fn jit_async_scope_enter(_ctx: *mut JITContext) -> i32
Expand description

Enter an async scope (structured concurrency boundary).

Pushes a new empty task list onto the VM’s async_scope_stack via trampoline.

§Returns

0 on success, -1 if no trampoline registered.