7 writes to safeWaitHandle
mscorlib (7)
system\threading\waithandle.cs (7)
79
safeWaitHandle
= null;
113
safeWaitHandle
= null;
118
safeWaitHandle
= new SafeWaitHandle(value, true);
138
safeWaitHandle
= new SafeWaitHandle(InvalidHandle, false);
162
safeWaitHandle
= null;
167
safeWaitHandle
= value;
188
safeWaitHandle
= handle;
21 references to safeWaitHandle
mscorlib (21)
system\threading\eventwaithandle.cs (4)
267
bool res = Win32Native.ResetEvent(
safeWaitHandle
);
275
bool res = Win32Native.SetEvent(
safeWaitHandle
);
287
return new EventWaitHandleSecurity(
safeWaitHandle
, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group);
297
eventSecurity.Persist(
safeWaitHandle
);
system\threading\mutex.cs (3)
413
if (Win32Native.ReleaseMutex(
safeWaitHandle
))
502
return new MutexSecurity(
safeWaitHandle
, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group);
512
mutexSecurity.Persist(
safeWaitHandle
);
system\threading\waithandle.cs (14)
91
get { return
safeWaitHandle
== null ? InvalidHandle :
safeWaitHandle
.DangerousGetHandle();}
110
if (
safeWaitHandle
!= null)
112
safeWaitHandle
.SetHandleAsInvalid();
136
if (
safeWaitHandle
== null)
140
return
safeWaitHandle
;
168
waitHandle =
safeWaitHandle
.DangerousGetHandle();
232
return InternalWaitOne(
safeWaitHandle
, timeout, hasThreadAffinity, exitContext);
260
if (
safeWaitHandle
== null)
267
int ret = WaitOneNative(
safeWaitHandle
, (uint)timeout, hasThreadAffinity, false);
567
int ret = SignalAndWaitOne(toSignal.
safeWaitHandle
,toWaitOn.
safeWaitHandle
,millisecondsTimeout,
616
if (
safeWaitHandle
!= null)
618
safeWaitHandle
.Close();