Changes between Version 25 and Version 26 of Language


Ignore:
Timestamp:
05/19/23 18:05:37 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Language

    v25 v26  
    644644=== Waiting for process termination: `$wait` and `$waitall`
    645645
     646{{{
     647$system void $wait($proc p);
     648$system void $waitall($proc *procs, int numProcs);
     649}}}
     650
     651Calling `$wait(p)` blocks the calling process until process `p` has terminated.
     652Calling `$waitall(procs, n)` blocks the calling process until all processes `procs[0]`,...,`procs[n-1]` have terminated.
     653All the process arguments must refer to valid processes, i.e., they cannot be undefined or `$proc_null`.
     654It is OK if a process argument refers to a process that has already terminated.
     655
    646656=== Yielding atomicity: `$yield`
    647657