Enter() 공개 메소드

Acquires the lock.
Thrown if the lock state is inconsistent.
public Enter ( ) : void
리턴 void
예제 #1
0
파일: Lock.cs 프로젝트: neobox3000/UA-.NET
 /// <summary>
 /// Acquires the lock on the SafeLock object.
 /// </summary>
 public Lock(SafeLock safeLock)
 {
     m_safeLock = safeLock;
     m_safeLock.Enter();
 }
예제 #2
0
 /// <summary>
 /// Acquires the lock on the SafeLock object.
 /// </summary>
 public Lock(SafeLock safeLock)
 {
     m_safeLock = safeLock;
     m_safeLock.Enter();
 }