Ejemplo n.º 1
0
 /// <summary>
 /// Counterpart to <see cref="MutexAquire"/>.
 /// </summary>
 public void MutexRelease()
 {
     if (_blockingMutexOld != null)
     {
         _blockingMutexOld.Close();
     }
     if (_blockingMutexNew != null)
     {
         _blockingMutexNew.Close();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Counterpart to <see cref="TargetMutexAquire"/>.
 /// </summary>
 private void TargetMutexRelease()
 {
     _targetMutex?.Close();
 }