# Is it possible to tell which processes are currently free?

**URL:** <https://discourse.julialang.org/t/is-it-possible-to-tell-which-processes-are-currently-free/113305>\
**Category:** Performance\
**Tags:** distributed\
**Created:** [April 21, 2024, 3:57pm UTC](https://discourse.julialang.org/t/is-it-possible-to-tell-which-processes-are-currently-free/113305 "2024-04-21T15:57:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikel8](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@mikel8](https://discourse.julialang.org/u/mikel8)\
**Post date:** [April 21, 2024, 3:57pm UTC](https://discourse.julialang.org/t/is-it-possible-to-tell-which-processes-are-currently-free/113305/1 "2024-04-21T15:57:17Z")

</div>

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!
