pub unsafe extern "C" fn cuCheckpointProcessLock(
pid: c_int,
args: *mut CUcheckpointLockArgs,
) -> CUresultExpand description
Lock a running CUDA process.
Lock the CUDA process specified by pid which will block further CUDA API calls. Process must be in the RUNNING state in order to lock.
Upon successful return the process will be in the LOCKED state.
If timeoutMs is specified and the timeout is reached the process will be left in the RUNNING state upon return.
§Parameters
pid: The process ID of the CUDA process.args: Optional lock operation arguments.