diff options
Diffstat (limited to 'mcs/class/corlib/System.Threading/AutoResetEvent.cs')
-rwxr-xr-x | mcs/class/corlib/System.Threading/AutoResetEvent.cs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/mcs/class/corlib/System.Threading/AutoResetEvent.cs b/mcs/class/corlib/System.Threading/AutoResetEvent.cs deleted file mode 100755 index 3b5d71e63be..00000000000 --- a/mcs/class/corlib/System.Threading/AutoResetEvent.cs +++ /dev/null @@ -1,35 +0,0 @@ -// -// System.Threading.AutoResetEvent.cs -// -// Author: -// Dick Porter (dick@ximian.com) -// Veronica De Santis (veron78@interfree.it) -// -// (C) Ximian, Inc. http://www.ximian.com -// - -using System; -using System.Runtime.CompilerServices; - -namespace System.Threading -{ - - public sealed class AutoResetEvent : WaitHandle - { - // Constructor - public AutoResetEvent(bool initialState) { - os_handle = NativeEventCalls.CreateEvent_internal(false,initialState,null); - } - - // Methods - - public bool Set() { - return(NativeEventCalls.SetEvent_internal(os_handle)); - } - - public bool Reset() { - return(NativeEventCalls.ResetEvent_internal(os_handle)); - } - - } -} |