process[wait] - waits until a forked process terminates
|
Description
|
|
•
|
Important: The process package has been deprecated. Use the superseding package Threads instead.
|
•
|
Waits for a child process that was created by fork to terminate, and returns the process ID of the process that terminated.
|
•
|
If more than one child process is running, the first one to terminate, will cause wait to return. Subsequent calls to wait will wait for one of the remaining processes to terminate.
|
•
|
The command with(process,wait) allows the use of the abbreviated form of this command.
|
|
|