Searched refs:pool2 (Results 1 – 6 of 6) sorted by relevance
7 let pool2 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in cross_pool_busy() localVariable17 .map(|i| pool2.install(move || i)) in cross_pool_busy()
39 auto pool2 = DescriptorPoolRegistry::Global()->Get("TEST POOL 2"); in TEST() local40 EXPECT_NE(pool2, nullptr); in TEST()
33 NSAutoreleasePool *pool2 = [[NSAutoreleasePool alloc] init];35 [pool2 drain];
154 let pool2 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install() localVariable158 pool2.install(|| { in mutual_install()175 let pool2 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install_sleepy() localVariable179 pool2.install(|| { in mutual_install_sleepy()
312 let pool2 = pool.clone(); in thread_owner_optimization() localVariable314 let guard = pool2.get(); in thread_owner_optimization()