OMNIRPC_WAIT_ANY

Name

OMNIRPC_WAIT_ANY -- Wait of multiple asynchronous function calls

Synopsis

integer nreq, ireqs(*), iret
          

call OMNIRPC_WAIT_ANY(nreq, ireqs, iret);

Description

It blocks caller threads until the end of one asynchronous function call corresponding to nreq call requests of ireq, which are stored in an array of OmniRpcRequest. As a return value, it sets iret to the position of the finished call requests in the array. Finished call request elements in the array is set as 0.