OmniRpcWaitAny

Name

OmniRpcWaitAny -- Wait of multiple asynchronous function calls

Synopsis

#include <OmniRpc.h>

intOmniRpcWaitAny(intn, OmniRpcRequestreqs[]);

Description

It blocks caller threads until the end of one asynchronous function call which corresponds to n call requests of req, which are stored in an array of OmniRpcRequest. It returns the positions of finished call requests in the array. The finished call request elements on the array are set with NULL.