Skip to content

Conversation

@kleinschmidt
Copy link
Contributor

I was surprised to find that there was no method for Base.wait on a WorkerPool which blocks until a worker is ready and then returns nothing. This adds a straightforward method based on the wp_local_$f pattern, that just calls wait(pool.channel). I've added tests (for both local and remote invocations) and will update docs as well.

@vtjnash vtjnash added the parallelism Parallel or distributed computation label Jan 22, 2023
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks you @kleinschmidt -- This seems like a very sensible addition. Lots of people added nice emoji reactions to it, too, but somehow nobody approved and merged :-(

In the meantime Distributed was moved into its own repository. Would you perhaps be willing to re-open this in a new PR at https://github.com/JuliaLang/Distributed.jl/pulls ?

@vtjnash
Copy link
Member

vtjnash commented Feb 11, 2024

Moved to issue JuliaLang/Distributed.jl#86. Since it is already approved here, it can merge once that is opened over there.

@vtjnash vtjnash closed this Feb 11, 2024
fatteneder added a commit to fatteneder/Distributed.jl that referenced this pull request Jul 18, 2024
fatteneder added a commit to JuliaLang/Distributed.jl that referenced this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parallelism Parallel or distributed computation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants