This section presents functions that are used to check for completion
of an RDMA operation. The one sided communication operations are
asynchronous, thus there needs to be a mechanism to verify for completion.
One mechanism is for the programmer to check for completion. The other
mechanism is through callback functions registered during the RDMA operations.
int CmiWaitTest(void *obj);
This function takes this RDMA handle and verifies if the operation
corresponding to this handle has completed.
A typical usage of this function would be in AMPI when there is a call to
AMPIWait. The implementation should call the CmiWaitTest for all
pending RDMA operations in that window.