Skip to content

Commit c94e232

Browse files
ViralBShahmbauman
authored andcommitted
Add a note to sharedarrays documentation. (#35807)
* Update distributed-computing.md * Update doc/src/manual/distributed-computing.md Co-authored-by: Matt Bauman <mbauman@juliacomputing.com> Co-authored-by: Matt Bauman <mbauman@juliacomputing.com> (cherry picked from commit 6a9ced3)
1 parent 4ca74fe commit c94e232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/manual/distributed-computing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Multi-process and Distributed Processing
1+
# Multi-processing and Distributed Computing
22

33
An implementation of distributed memory parallel computing is provided by module `Distributed`
44
as part of the standard library shipped with Julia.
@@ -760,7 +760,7 @@ SharedArray{T,N}(dims::NTuple; init=false, pids=Int[])
760760
which creates an `N`-dimensional shared array of a bits type `T` and size `dims` across the processes specified
761761
by `pids`. Unlike distributed arrays, a shared array is accessible only from those participating
762762
workers specified by the `pids` named argument (and the creating process too, if it is on the
763-
same host).
763+
same host). Note that only elements that are [`isbits`](@ref) are supported in a SharedArray.
764764

765765
If an `init` function, of signature `initfn(S::SharedArray)`, is specified, it is called on all
766766
the participating workers. You can specify that each worker runs the `init` function on a distinct

0 commit comments

Comments
 (0)