Skip to content

Commit 8df96e9

Browse files
stsievertScott SievertScott Sievert
authored
DOC: @Everywhere and adding processors (JuliaLang/julia#19434)
Co-authored-by: Scott Sievert <me@scottsievert.com> Co-authored-by: Scott Sievert <sieve121@umn.edu>
1 parent 7934332 commit 8df96e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/macros.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ Errors on any of the processes are collected into a
175175
176176
@everywhere bar = 1
177177
178-
will define `Main.bar` on all processes.
178+
will define `Main.bar` on all current processes. Any processes added later
179+
(say with [`addprocs()`](@ref)) will not have the expression defined.
179180
180181
Unlike [`@spawnat`](@ref), `@everywhere` does not capture any local variables.
181182
Instead, local variables can be broadcast using interpolation:

0 commit comments

Comments
 (0)