Skip to main content

Module spawnhook

Module spawnhook 

Source

Re-exportsยง

use super::thread::Thread; ๐Ÿ”’
use crate::cell::Cell; ๐Ÿ”’
use crate::iter; ๐Ÿ”’
use crate::sync::Arc; ๐Ÿ”’
use crate::sync::UniqueArc; ๐Ÿ”’ Experimental

Structsยง

ChildSpawnHooks ๐Ÿ”’
The results of running the spawn hooks.
SpawnHook ๐Ÿ”’
SpawnHooks ๐Ÿ”’

Constantsยง

SPAWN_HOOKS ๐Ÿ”’
A thread local linked list of spawn hooks.

Functionsยง

run_spawn_hooks ๐Ÿ”’
Runs all the spawn hooks.
add_spawn_hookExperimental
Registers a function to run for every newly thread spawned.