Function set_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 set_thread_scope_stack(handle: ScopeStackHandle)

Install an explicit scope stack for the current thread.

This replaces the thread-local scope stack handle and marks the current thread as explicitly scope-aware for later propagation checks.

Parameters

  • handle: Scope stack handle to install for the current thread.

Returns

().

Notes

Use this when propagating an existing scope stack into worker threads.