[−][src]Function dqcsim::bindings::dqcs_sim_recv
#[no_mangle]pub extern "C" fn dqcs_sim_recv(sim: dqcs_handle_t) -> dqcs_handle_t
Waits for the simulated accelerator to send a message to us.
When this succeeds, the received data is returned in the form of a new handle. When it fails, 0 is returned.
Deadlocks are detected and prevented by returning an error.