Function ctru_sys::gxCmdQueueWait

source ·
pub unsafe extern "C" fn gxCmdQueueWait(
    queue: *mut gxCmdQueue_s,
    timeout: s64
) -> bool
Expand description

Waits for a GX command queue to finish executing pending commands.

§Arguments

  • queue - The GX command queue.
  • timeout - Optional timeout (in nanoseconds) to wait (specify -1 for no timeout).

§Returns

false if timeout expired, true otherwise.