MCPcopy Create free account
hub / github.com/NthTensor/Forte / divide_and_conquer_seq

Function divide_and_conquer_seq

src/scope.rs:1299–1307  ·  view source on GitHub ↗
(counter: &AtomicUsize, size: usize)

Source from the content-addressed store, hash-verified

1297 }
1298
1299 /// Tests that blocking functions like `join` can be nested within scopes.
1300 #[test]
1301 fn scope_concurrency() {
1302 const NUM_JOBS: u8 = 128;
1303
1304 static THREAD_POOL: ThreadPool = ThreadPool::new();
1305 THREAD_POOL.resize_to_available();
1306
1307 let a = AtomicU8::new(0);
1308 let b = AtomicU8::new(0);
1309
1310 THREAD_POOL.with_worker(|_: &Worker| {

Callers 1

scope_divide_and_conquerFunction · 0.85

Calls

no outgoing calls

Tested by 1

scope_divide_and_conquerFunction · 0.68