$SharedVariables

$SharedVariables

is the list of variables currently being shared among parallel kernels.

Details

Examples

Basic Examples  (1)

Share a variable:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Stop sharing the variable:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

See Also

SetSharedVariable  UnsetShared  SetSharedFunction  DistributeDefinitions

Introduced in 2008
(7.0)