UnsetShared

UnsetShared[s1,s2,]

stops the sharing of the variables or functions si among parallel kernels.

UnsetShared[patt]

stops the sharing of all variables and functions whose names match the string pattern patt.

Details

Examples

open allclose all

Basic Examples  (2)

Declare a shared variable:

All accesses are synchronized:

Stop sharing the variable:

The value on the master kernel remains:

The variables on the subkernels are no longer synchronized:

Stop sharing all variables and functions:

Properties & Relations  (1)

Share a variable:

The variable is now listed among the shared variables:

Stop sharing the variable:

Wolfram Research (2008), UnsetShared, Wolfram Language function, https://reference.wolfram.com/language/ref/UnsetShared.html.

Text

Wolfram Research (2008), UnsetShared, Wolfram Language function, https://reference.wolfram.com/language/ref/UnsetShared.html.

CMS

Wolfram Language. 2008. "UnsetShared." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UnsetShared.html.

APA

Wolfram Language. (2008). UnsetShared. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UnsetShared.html

BibTeX

@misc{reference.wolfram_2024_unsetshared, author="Wolfram Research", title="{UnsetShared}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/UnsetShared.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_unsetshared, organization={Wolfram Research}, title={UnsetShared}, year={2008}, url={https://reference.wolfram.com/language/ref/UnsetShared.html}, note=[Accessed: 22-November-2024 ]}