| 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 | ** |
| 8 | ** Header: COMWaitHandle.h |
| 9 | ** |
| 10 | ** Purpose: Native methods on System.WaitHandle |
| 11 | ** |
| 12 | ** |
| 13 | ===========================================================*/ |
| 14 | |
| 15 | #ifndef _COM_WAITABLE_HANDLE_H |
| 16 | #define _COM_WAITABLE_HANDLE_H |
| 17 | |
| 18 | |
| 19 | class WaitHandleNative |
| 20 | { |
| 21 | public: |
| 22 | static FCDECL4(INT32, CorWaitOneNative, SafeHandle* safeWaitHandleUNSAFE, INT32 timeout, CLR_BOOL hasThreadAffinity, CLR_BOOL exitContext); |
| 23 | static FCDECL4(INT32, CorWaitMultipleNative, Object* waitObjectsUNSAFE, INT32 timeout, CLR_BOOL exitContext, CLR_BOOL waitForAll); |
| 24 | static FCDECL5(INT32, CorSignalAndWaitOneNative, SafeHandle* safeWaitHandleSignalUNSAFE, SafeHandle* safeWaitHandleWaitUNSAFE, INT32 timeout, CLR_BOOL hasThreadAffinity, CLR_BOOL exitContext); |
| 25 | }; |
| 26 | #endif |
| 27 | |