1 | // Licensed to the .NET Foundation under one or more agreements. |
2 | // The .NET Foundation licenses this file to you under the MIT license. |
3 | // See the LICENSE file in the project root for more information. |
4 | |
5 | /*============================================================ |
6 | ** |
7 | ** Header: SynchronizationContextNative.h |
8 | ** |
9 | ** |
10 | ** Purpose: Native methods on System.Threading.SynchronizationContext. |
11 | ** |
12 | ** |
13 | ===========================================================*/ |
14 | |
15 | #ifndef _SYNCHRONIZATIONCONTEXTNATIVE_H |
16 | #define _SYNCHRONIZATIONCONTEXTNATIVE_H |
17 | |
18 | class SynchronizationContextNative |
19 | { |
20 | public: |
21 | |
22 | static FCDECL3(DWORD, WaitHelper, PTRArray *handleArrayUNSAFE, CLR_BOOL waitAll, DWORD millis); |
23 | |
24 | #ifdef FEATURE_APPX |
25 | static void* QCALLTYPE GetWinRTDispatcherForCurrentThread(); |
26 | static void Cleanup(); |
27 | #endif |
28 | }; |
29 | #endif // _SYNCHRONIZATIONCONTEXTNATIVE_H |
30 | |
31 | |