Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System.Threading / NativeEventCalls.cs
1 //
2 // System.Threading.AutoResetEvent.cs
3 //
4 // Author:
5 //   Dick Porter (dick@ximian.com)
6 //   Veronica De Santis (veron78@interfree.it)
7 //
8 // (C) Ximian, Inc.  http://www.ximian.com
9 //
10
11 using System;
12 using System.Runtime.CompilerServices;
13
14 namespace System.Threading 
15 {
16         internal sealed class NativeEventCalls
17         {
18                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
19                 public static extern IntPtr CreateEvent_internal(bool manual,bool initial,string name);
20
21                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
22                 public static extern bool SetEvent_internal(IntPtr handle);
23
24                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
25                 public static extern bool ResetEvent_internal(IntPtr handle);
26         
27         }
28 }