Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2015-10-01 00:47:24 +0300
committerScott Mosier <smosier@microsoft.com>2015-10-01 00:47:24 +0300
commitad0323ab91a7b1469b42ca5457ddd631b94294fe (patch)
tree88fae57e1ec3aae90288463dc07e58f7aebc1de8 /src/Native/Runtime/event.h
parent6763d16387778f126ec510c0421783952602f8f7 (diff)
Initial population of CoreRT Runtime files.
Diffstat (limited to 'src/Native/Runtime/event.h')
-rw-r--r--src/Native/Runtime/event.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Native/Runtime/event.h b/src/Native/Runtime/event.h
new file mode 100644
index 000000000..0fdc256da
--- /dev/null
+++ b/src/Native/Runtime/event.h
@@ -0,0 +1,22 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+//
+class CLREventStatic
+{
+public:
+ void CreateManualEvent(bool bInitialState);
+ void CreateAutoEvent(bool bInitialState);
+ void CreateOSManualEvent(bool bInitialState);
+ void CreateOSAutoEvent (bool bInitialState);
+ void CloseEvent();
+ bool IsValid() const;
+ bool Set();
+ bool Reset();
+ UInt32 Wait(UInt32 dwMilliseconds, bool bAlertable, bool bAllowReentrantWait = false);
+ HANDLE GetOSEvent();
+
+private:
+ HANDLE m_hEvent;
+ bool m_fInitialized;
+};