Distributed: Passing views of an array for read access to workers (using pmap)

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)
1 Like