[−][src]Function dqcsim::bindings::dqcs_cq_push
#[no_mangle]pub extern "C" fn dqcs_cq_push(
cq: dqcs_handle_t,
cmd: dqcs_handle_t
) -> dqcs_return_t
Pushes an ArbCmd
object into the given ArbCmd
queue.
This function returns -1 to indicate failure. The ArbCmd
object specified
by cmd
is moved into the queue. That is, the handle is consumed if and
only if the function succeeds.