WaitAll

WaitAll[expr]

waits for all concurrent evaluations represented by EvaluationObject expressions in expr to finish, then returns the resulting expression obtained.

Details

Examples

open allclose all

Basic Examples  (4)

Wait for a single evaluation:

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

Waiting evaluations are scheduled concurrently on any available parallel kernel:

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

Wait for all evaluations contained in a sum:

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

Functions used need to be distributed first:

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

Scope  (4)

Applications  (4)

Properties & Relations  (4)

Possible Issues  (2)

See Also

ParallelSubmit  WaitNext  ParallelTry

Introduced in 2008
(7.0)