Mathematica > Systems Interfaces & Deployment > Parallel Computing > Resource Sharing in Parallel Computing >
Mathematica > Core Language > Tuning & Debugging > Parallel Computing > Resource Sharing in Parallel Computing >

SetSharedFunction

SetSharedFunction[f1, f2, ...]
declares the symbols fi as shared functions whose downvalues are synchronized among all parallel kernels.
  • Downvalues for a shared function defined on any kernel are maintained by the master kernel and every access on a parallel subkernel is synchronized through the master kernel.
  • Expressions of the form f[...] that would remain unevaluated give Null.
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team