WaitForMultipleUntil (open)
Waits for reads and/or writes until a specified time
Syntax
// Core function, no LOADLIB necessary
INTEGER FUNCTION WaitForMultipleUntil(INTEGER ARRAY reads, INTEGER ARRAY writes, DATETIME until)Parameters
INTEGER ARRAY readsHandles to wait for (reads, only processes and sockets are supported) You can not directly wait for the termination of a process.
INTEGER ARRAY writesHandles to wait for (writes, only processes are supported)
DATETIME untilTime to wait until (UTC). Use DEFAULT DATETIME to only check signalled status, and to avoid waiting.
Return value
INTEGERA handle that is signalled, or -1 when a time-out has occurred
Description
WaitForMultiple waits for readability or writabity of a list of handles.