This commit is contained in:
Jorge Aparicio 2022-04-29 15:29:15 +02:00
parent 3d3277f6d3
commit 1e1d801b07

View File

@ -254,7 +254,7 @@ fn pool() {
A::grow(unsafe { &mut M });
thread::pool(move |scope| {
thread::scope(move |scope| {
scope.spawn(move || {
for _ in 0..N / 4 {
let a = A::alloc().unwrap();