Waits for the end of DPU processing. This is a block function.
Prototype
int wait(tuple[uint32_t, int] jobid)
Parameters
The following table lists the wait function arguments.
Type | Name | Description |
---|---|---|
tuple[uint32_t, int] | jobid | job id |
Returns
Status 0 for exit successfully, others for customized warnings or errors.