2 // System.Threading.ManualResetEvent.cs
5 // Dick Porter (dick@ximian.com)
6 // Veronica De Santis (veron78@interfree.it)
8 // (C) Ximian, Inc. http://www.ximian.com
12 using System.Runtime.CompilerServices;
14 namespace System.Threading
17 public sealed class ManualResetEvent : WaitHandle
20 public ManualResetEvent (bool initialState)
22 os_handle = NativeEventCalls.CreateEvent_internal (true, initialState, null);
29 return (NativeEventCalls.SetEvent_internal (os_handle));
34 return(NativeEventCalls.ResetEvent_internal (os_handle));