Function sync_thread_scope_stack

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub fn sync_thread_scope_stack(handle: ScopeStackHandle)

Synchronize the thread-local scope stack without marking it explicit.

This updates the thread-local slot used by native runtime code while preserving whether the thread was explicitly marked as owning a scope stack.

Parameters

  • handle: Scope stack handle to synchronize into thread-local storage.

Returns

().

Notes

Python bindings use this to mirror ContextVar state into Rust without forcing scope_stack_active() to become true for the thread.