summaryrefslogtreecommitdiff
path: root/src/vm/synchronizationcontextnative.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/synchronizationcontextnative.h')
-rw-r--r--src/vm/synchronizationcontextnative.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/vm/synchronizationcontextnative.h b/src/vm/synchronizationcontextnative.h
new file mode 100644
index 0000000000..ebbcc2faf9
--- /dev/null
+++ b/src/vm/synchronizationcontextnative.h
@@ -0,0 +1,32 @@
+// 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.
+
+/*============================================================
+**
+** Header: SynchronizationContextNative.h
+**
+**
+** Purpose: Native methods on System.Threading.SynchronizationContext.
+**
+**
+===========================================================*/
+
+#ifndef _SYNCHRONIZATIONCONTEXTNATIVE_H
+#define _SYNCHRONIZATIONCONTEXTNATIVE_H
+
+class SynchronizationContextNative
+{
+public:
+
+#ifdef FEATURE_SYNCHRONIZATIONCONTEXT_WAIT
+ static FCDECL3(DWORD, WaitHelper, PTRArray *handleArrayUNSAFE, CLR_BOOL waitAll, DWORD millis);
+#endif
+
+#ifdef FEATURE_APPX
+ static void* QCALLTYPE GetWinRTDispatcherForCurrentThread();
+ static void Cleanup();
+#endif
+};
+#endif // _SYNCHRONIZATIONCONTEXTNATIVE_H
+