my @threads = map { threads->create \&fetch, $_ } 0 .. $numthreads-1;