/// <summary> /// Releases the specified job lock. /// </summary> /// <param name="jobLock">The job lock.</param> public override void Release(JobLock jobLock) { lock (_myLock) { if (jobLock.LockAcquired) _locks.Remove(jobLock.LockName); jobLock.SetReleased(); } }
/// <summary> /// Releases the specified job lock. /// </summary> /// <param name="jobLock">The job lock.</param> public override void Release(JobLock jobLock) { lock (_myLock) { if (jobLock.LockAcquired) { _locks.Remove(jobLock.LockName); } jobLock.SetReleased(); } }
/// <summary> /// Releases the specified job lock. /// </summary> /// <param name="jobLock">The job lock.</param> public abstract void Release(JobLock jobLock);