Function ntcore_sys::NT_WaitForRpcCallQueue [] [src]

pub unsafe extern "C" fn NT_WaitForRpcCallQueue(
    inst: NT_Inst,
    timeout: f64
) -> NT_Bool

Wait for the incoming RPC call queue to be empty. This is primarily useful for deterministic testing. This blocks until either the RPC call queue is empty (e.g. there are no more events that need to be passed along to callbacks or poll queues) or the timeout expires. @param inst instance handle @param timeout timeout, in seconds. Set to 0 for non-blocking behavior, or a negative value to block indefinitely @return False if timed out, otherwise true.