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
9Module Name:
10
11 event.hpp
12
13Abstract:
14
15 Event object structure definition.
16
17
18
19--*/
20
21#ifndef _PAL_EVENT_H_
22#define _PAL_EVENT_H_
23
24#include "corunix.hpp"
25
26namespace CorUnix
27{
28 extern CObjectType otManualResetEvent;
29 extern CObjectType otAutoResetEvent;
30
31 PAL_ERROR
32 InternalCreateEvent(
33 CPalThread *pThread,
34 LPSECURITY_ATTRIBUTES lpEventAttributes,
35 BOOL bManualReset,
36 BOOL bInitialState,
37 LPCWSTR lpName,
38 HANDLE *phEvent
39 );
40
41 PAL_ERROR
42 InternalSetEvent(
43 CPalThread *pThread,
44 HANDLE hEvent,
45 BOOL fSetEvent
46 );
47
48}
49
50#endif //PAL_EVENT_H_
51
52
53
54
55
56
57
58
59
60
61