public void AssignProcess(Process process) { if (!_jobHandle.IsInvalid) { _jobHandle.AssignProcess(process.SafeHandle); } }