C# 클래스 System.Threading.Monitor

파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

공개 메소드들

메소드 설명
Enter ( object obj, bool &lockTaken ) : void
Pulse ( object obj ) : void
PulseAll ( object obj ) : void
TryEnter ( object obj ) : bool
TryEnter ( object obj, System.TimeSpan timeout ) : bool
TryEnter ( object obj, int millisecondsTimeout ) : bool
TryEnter ( object obj, System.TimeSpan timeout, bool &lockTaken ) : void
TryEnter ( object obj, bool &lockTaken ) : void
TryEnter ( object obj, int millisecondsTimeout, bool &lockTaken ) : void
Wait ( object obj ) : bool
Wait ( object obj, System.TimeSpan timeout ) : bool
Wait ( object obj, System.TimeSpan timeout, bool exitContext ) : bool
Wait ( object obj, int millisecondsTimeout ) : bool
Wait ( object obj, int millisecondsTimeout, bool exitContext ) : bool

비공개 메소드들

메소드 설명
Enter ( object obj ) : void
Exit ( object obj ) : void
Monitor_pulse ( object obj ) : void
Monitor_pulse_all ( object obj ) : void
Monitor_test_synchronised ( object obj ) : bool
Monitor_try_enter ( object obj, int ms ) : bool
Monitor_wait ( object obj, int ms ) : bool
try_enter_with_atomic_var ( object obj, int millisecondsTimeout, bool &lockTaken ) : void

메소드 상세

Enter() 공개 정적인 메소드

public static Enter ( object obj, bool &lockTaken ) : void
obj object
lockTaken bool
리턴 void

Pulse() 공개 정적인 메소드

public static Pulse ( object obj ) : void
obj object
리턴 void

PulseAll() 공개 정적인 메소드

public static PulseAll ( object obj ) : void
obj object
리턴 void

TryEnter() 공개 정적인 메소드

public static TryEnter ( object obj ) : bool
obj object
리턴 bool

TryEnter() 공개 정적인 메소드

public static TryEnter ( object obj, System.TimeSpan timeout ) : bool
obj object
timeout System.TimeSpan
리턴 bool

TryEnter() 공개 정적인 메소드

public static TryEnter ( object obj, int millisecondsTimeout ) : bool
obj object
millisecondsTimeout int
리턴 bool

TryEnter() 공개 정적인 메소드

public static TryEnter ( object obj, System.TimeSpan timeout, bool &lockTaken ) : void
obj object
timeout System.TimeSpan
lockTaken bool
리턴 void

TryEnter() 공개 정적인 메소드

public static TryEnter ( object obj, bool &lockTaken ) : void
obj object
lockTaken bool
리턴 void

TryEnter() 공개 정적인 메소드

public static TryEnter ( object obj, int millisecondsTimeout, bool &lockTaken ) : void
obj object
millisecondsTimeout int
lockTaken bool
리턴 void

Wait() 공개 정적인 메소드

public static Wait ( object obj ) : bool
obj object
리턴 bool

Wait() 공개 정적인 메소드

public static Wait ( object obj, System.TimeSpan timeout ) : bool
obj object
timeout System.TimeSpan
리턴 bool

Wait() 공개 정적인 메소드

public static Wait ( object obj, System.TimeSpan timeout, bool exitContext ) : bool
obj object
timeout System.TimeSpan
exitContext bool
리턴 bool

Wait() 공개 정적인 메소드

public static Wait ( object obj, int millisecondsTimeout ) : bool
obj object
millisecondsTimeout int
리턴 bool

Wait() 공개 정적인 메소드

public static Wait ( object obj, int millisecondsTimeout, bool exitContext ) : bool
obj object
millisecondsTimeout int
exitContext bool
리턴 bool