1 2 3 4 5 6 7 8 9 10 11 12
//! Startup rollback joins the native thread without exposing its token. use std::thread; use super::start_handoff::join_cancelled; #[test] fn cancelled_startup_joins_the_host_thread() { let handle = thread::spawn(|| {}); join_cancelled(handle); }