Searched defs:WorkerHandle (Results 1 – 2 of 2) sorted by relevance
59 pub(crate) struct WorkerHandle { struct66 pub(crate) fn get_current_handle() -> Option<&'static WorkerHandle> { in get_current_handle() argument111 handle.set((&cur_handle as *const WorkerHandle).cast::<()>()); in run_worker() constant
306 ctx.set((&cur_context as *const WorkerHandle).cast::<()>()); in block_on_inner() constant