diff options
Diffstat (limited to 'src/mscorlib/src/System/Threading/AutoResetEvent.cs')
-rw-r--r-- | src/mscorlib/src/System/Threading/AutoResetEvent.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Threading/AutoResetEvent.cs b/src/mscorlib/src/System/Threading/AutoResetEvent.cs new file mode 100644 index 0000000000..6fe6c06232 --- /dev/null +++ b/src/mscorlib/src/System/Threading/AutoResetEvent.cs @@ -0,0 +1,27 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +// +/*============================================================================= +** +** +** +** Purpose: An example of a WaitHandle class +** +** +=============================================================================*/ +namespace System.Threading { + + using System; + using System.Security.Permissions; + using System.Runtime.InteropServices; + + [HostProtection(Synchronization=true, ExternalThreading=true)] + [System.Runtime.InteropServices.ComVisible(true)] + public sealed class AutoResetEvent : EventWaitHandle + { + public AutoResetEvent(bool initialState) : base(initialState,EventResetMode.AutoReset){ } + } +} + |