예제 #1
0
 /// <inheritdoc/>
 public override bool Wait()
 {
     return(Native.WaitForSingleObject(eventHandle, Native.Infinite) != 0);
 }
예제 #2
0
 /// <inheritdoc/>
 public override bool Signal()
 {
     return(Native.SetEvent(eventHandle));
 }