[][src]Function dqcsim::bindings::dqcs_cq_new

#[no_mangle]pub extern "C" fn dqcs_cq_new() -> dqcs_handle_t

Creates a new ArbCmd queue object.

Returns the handle of the newly created ArbCmd queue. The queue is initially empty. Queues implement a "first-in, first-out" model.

ArbCmd queue objects support the handle, arb, cmd, and cq APIs.

The arb and cmd APIs refer to the ArbCmd at the front of the queue. Use dqcs_cq_next() to remove the front entry, allowing access to the next command.