We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14230ff + 4c849ed commit 062f922Copy full SHA for 062f922
tests/pass-dep/concurrency/tls_pthread_drop_order.rs
@@ -1,9 +1,9 @@
1
//@ignore-target-windows: No pthreads on Windows
2
//! Test that pthread_key destructors are run in the right order.
3
//! Note that these are *not* used by actual `thread_local!` on Linux! Those use
4
-//! `thread_local_dtor::register_dtor` from the stdlib instead. In Miri this hits the fallback path
5
-//! in `register_dtor_fallback`, which uses a *single* pthread_key to manage a thread-local list of
6
-//! dtors to call.
+//! `destructors::register` from the stdlib instead. In Miri this ends up hitting
+//! the fallback path in `guard::key::enable`, which uses a *single* pthread_key
+//! to manage a thread-local list of dtors to call.
7
8
use std::mem;
9
use std::ptr;
0 commit comments