Tracking Issue for thread spawn hooks · Issue #132951 · rust-lang/rust (original) (raw)
This is a tracking issue for thread spawn hooks as proposed in rust-lang/rfcs#3642
// std::thread:
pub fn add_spawn_hook<F, G>(hook: F) where F: 'static + Send + Sync + Fn(&Thread) -> G, G: 'static + Send + FnOnce();
impl Builder { pub fn no_hooks(mut self) -> Builder; }