예제 #1
0
        public bool Reset()
        {
            SafeWaitHandle waitHandle = ValidateHandle();

            try
            {
                WaitSubsystem.ResetEvent(waitHandle.DangerousGetHandle());
                return(true);
            }
            finally
            {
                waitHandle.DangerousRelease();
            }
        }
예제 #2
0
 private static bool ResetCore(IntPtr handle)
 {
     WaitSubsystem.ResetEvent(handle);
     return(true);
 }