I'd like something like wait_and(x, y)
which waits for x
and y
to complete, and a wait_or(x, y)
which waits for x
or y
to complete.
Ideally I'd like to be able to say "I want to wait for x
to complete, or, I'd like to wait for [y, z, w, v, u]
to all complete"
Anyone have any ideas for implementing this?
Julia 1.12 have waitall
and waitany
at least.
Fair enough. I guess I'll have to try and copy that implementation.
The internet version of wait_any
is called "happy eyeballs". https://juliaconcurrent.github.io/Julio.jl/dev/tutorials/happy_eyeballs/
Well that is a much worse name :stuck_out_tongue:
Last updated: Nov 22 2024 at 04:41 UTC