Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that @spawnat :any doesn't do load-balancing #22

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ end

Create a closure around an expression and run the closure
asynchronously on process `p`. Return a [`Future`](@ref) to the result.

If `p` is the quoted literal symbol `:any`, then the system will pick a
processor to use automatically.
processor to use automatically. Using `:any` will not apply any form of
load-balancing, consider using a [`WorkerPool`](@ref) and [`remotecall(f,
::WorkerPool)`](@ref) if you need load-balancing.

# Examples
```julia-repl
Expand Down
Loading