diff options
Diffstat (limited to 'mcs/class/corlib/System.Threading/RegisteredWaitHandle.cs')
-rw-r--r-- | mcs/class/corlib/System.Threading/RegisteredWaitHandle.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mcs/class/corlib/System.Threading/RegisteredWaitHandle.cs b/mcs/class/corlib/System.Threading/RegisteredWaitHandle.cs index 6069bf116d4..62c6078e3e8 100644 --- a/mcs/class/corlib/System.Threading/RegisteredWaitHandle.cs +++ b/mcs/class/corlib/System.Threading/RegisteredWaitHandle.cs @@ -84,12 +84,8 @@ namespace System.Threading lock (this) { _unregistered = true; if (_callsInProcess == 0 && _finalEvent != null) { -#if NETCORE - throw new NotImplementedException (); -#else NativeEventCalls.SetEvent (_finalEvent.SafeWaitHandle); _finalEvent = null; -#endif } } } catch (ObjectDisposedException) { @@ -112,11 +108,7 @@ namespace System.Threading { _callsInProcess--; if (_unregistered && _callsInProcess == 0 && _finalEvent != null) { -#if NETCORE - EventWaitHandle.Set (_finalEvent.SafeWaitHandle); -#else NativeEventCalls.SetEvent (_finalEvent.SafeWaitHandle); -#endif _finalEvent = null; } } |