[−][src]Function dqcsim::bindings::dqcs_sim_wait
#[no_mangle]pub extern "C" fn dqcs_sim_wait(sim: dqcs_handle_t) -> dqcs_handle_t
Waits for the simulated accelerator to finish its current program.
When this succeeds, the return value of the accelerator's run()
function is returned in the form of a new handle. When it fails, 0 is
returned.
Deadlocks are detected and prevented by returning an error.