Function run_spawn_hooks

pub(in ::thread) fn run_spawn_hooks(thread: &Thread) -> ChildSpawnHooks

Runs all the spawn hooks.

Called on the parent thread.

Returns the functions to be called on the newly spawned thread.