9e224c2bf1
The new semantics of this function are that the callbacks are run when the *main thread* exits, not when all threads have exited. This implies that other threads may still be running when the `at_exit` callbacks are invoked and users need to be prepared for this situation. Users in the standard library have been audited in accordance to these new rules as well. Closes #20012 |
||
---|---|---|
.. | ||
backtrace.rs | ||
condvar.rs | ||
helper_thread.rs | ||
mod.rs | ||
mutex.rs | ||
net.rs | ||
rwlock.rs | ||
stack.rs | ||
thread_info.rs | ||
thread_local.rs | ||
thread.rs |