2 #![allow(unused_must_use)]
3 #![allow(non_upper_case_globals)]
5 // pretty-expanded FIXME #23616
6 // ignore-emscripten no threads
8 use std::thread::Builder;
10 static generations: usize = 1024+256+128+49;
12 fn spawn(mut f: Box<dyn FnMut() + 'static + Send>) {
13 Builder::new().stack_size(32 * 1024).spawn(move|| f());
16 fn child_no(x: usize) -> Box<dyn FnMut() + 'static + Send> {