File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/pass-dep/concurrency Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- d49994b060684af423339b55769439b2f444a7b9
1+ c290e9de32e8ba6a673ef125fde40eadd395d170
Original file line number Diff line number Diff line change 11//@ignore-target-windows: No pthreads on Windows
22//! Test that pthread_key destructors are run in the right order.
33//! 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.
4+ //! `destructors::register ` from the stdlib instead. In Miri this ends up hitting
5+ //! the fallback path in `guard::key::enable `, which uses a *single* pthread_key
6+ //! to manage a thread-local list of dtors to call.
77
88use std:: mem;
99use std:: ptr;
You can’t perform that action at this time.
0 commit comments