1 // Testing the the display of JoinHandle and Thread in cdb.
4 // min-cdb-version: 10.0.18317.1001
7 // === CDB TESTS ==================================================================================
11 // cdb-command:dx join_handle,d
12 // cdb-check:join_handle,d [Type: std::thread::JoinHandle<tuple$<> >]
13 // cdb-check: [...] __0 [Type: std::thread::JoinInner<tuple$<> >]
16 // cdb-check:t,d : [...] [Type: std::thread::Thread *]
17 // cdb-check: [...] inner : {...} [Type: alloc::sync::Arc<std::thread::Inner>]
21 #[allow(unused_variables)]
24 let join_handle = thread::spawn(|| {
25 println!("Initialize a thread");
27 let t = join_handle.thread();