Since you want to record the results and also, potentially, want load-balancing you probably want to translate this as
tasks = map(zip(taskseq,start_time_vec)) do x
Threads.@spawn worker_function(x)
end
fetch.(tasks)
Since you want to record the results and also, potentially, want load-balancing you probably want to translate this as
tasks = map(zip(taskseq,start_time_vec)) do x
Threads.@spawn worker_function(x)
end
fetch.(tasks)