This is documentation for an obsolete product.
Current products and services
Previous section-----Next section

ProcessState

ProcessID[pid] a unique integer identifying the process
Process[pid] the expression representing the process
Scheduling[pid] the priority assigned to the process
ProcessState[pid]the state of the process: queued, running, finished

Properties of Process IDs.

Here we queue several processes.
In[1]:=
Out[1]=
Because the scheduler has not yet been running, all of them are still queued for evaluation.
In[2]:=
Out[2]//TableForm=
To demonstrate how it works, we invoke the scheduler by hand.
In[3]:=
Out[3]=
Now some processes are running on the available processors; some may already have finished.
In[4]:=
Out[4]//TableForm=
Wait[] invokes the scheduler until all processes are finished and returns their results. Note that the priorities are not used with the default queue type, see the section The Scheduler.
In[5]:=
Out[5]=
Here several processes are queued showing how the queue grows in size.
In[4]:=
Out[4]=
Wait[] invokes the scheduler which sends queued jobs to idle processors, collects results, and hands them back to the application.