Is it possible to tell which processes are currently free?

Hi all,

I’m currently writing a distributed program with several workers. At one point in the code, I am trying to have all free workers split up a loop and execute a function for different input data. While I can make this happen for a set of workers known to be free using @sync, @async, and @spawnat, I haven’t yet found a way to use all free workers because I haven’t found a functionality to tell which workers are currently free. Am I missing a function that returns this information? Alternatively, is it possible to use @distributed to accomplish this? Thanks for the help!