Defined in File sweep_parallel_for.h
Run function(i) for i in [0, count) across num_threads threads, strided.
function(i)
num_threads
Exceptions thrown by any worker are propagated to the caller (first wins).