process[block] - waits for one of the specified descriptors to become ready
|
Calling Sequence
|
|
block(timeout, pipe ...)
|
|
Parameters
|
|
timeout
|
-
|
maximum amount of time to wait, 0 for forever
|
pipe
|
-
|
file descriptors of one or more open pipe ends
|
|
|
|
|
Description
|
|
•
|
Important: The process package has been deprecated. Use the superseding package Threads instead.
|
•
|
The block function will wait the specified amount of time, or forever if 0 is specified, for one of the specified pipe ends to have data for reading, or space for writing.
|
•
|
The block function returns a list of those descriptors that have become ready. This list will usually contain only one descriptor.
|
•
|
If no pipe end has become ready by the time the timeout period has elapsed, block returns FAIL.
|
•
|
The command with(process,block) allows the use of the abbreviated form of this command.
|
|
|
Download Help Document
Was this information helpful?