wait

Functions

wait(jobid_time)
module wait

Waits for the end of DPU processing.

modes:

  1. Blocking wait for specific ID.

  2. Non-blocking wait for specific ID.

  3. Blocking wait for any ID.

  4. Non-blocking wait for any ID

Parameters:

jobid_time – tuple[uint32_t, int], [job id, time], jobid: neg for any id, others for specific job id. time: not used here

Returns:

status 0 for exit successfully, others for customized warnings or errors

Functions

wait(jobid_time)