blob: 4cdab9387fc9162b2f3ae3ab1d4e145d0a3d579b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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.
class CLREventStatic
{
public:
bool CreateManualEventNoThrow(bool bInitialState);
bool CreateAutoEventNoThrow(bool bInitialState);
bool CreateOSManualEventNoThrow(bool bInitialState);
bool CreateOSAutoEventNoThrow(bool bInitialState);
void CloseEvent();
bool IsValid() const;
bool Set();
bool Reset();
uint32_t Wait(uint32_t dwMilliseconds, bool bAlertable, bool bAllowReentrantWait = false);
HANDLE GetOSEvent();
private:
HANDLE m_hEvent;
bool m_fInitialized;
};
|