Open Files 5.3.0
Multi-Platform Event-Driven Application Framework
waitset.h
Go to the documentation of this file.
1 /* Copyright (c) 2021 Connected Way, LLC. All rights reserved.
2  * Use of this source code is governed by a Creative Commons
3  * Attribution-NoDerivatives 4.0 International license that can be
4  * found in the LICENSE file.
5  */
6 #if !defined(__OFC_WAIT_SET_H__)
7 #define __OFC_WAIT_SET_H__
8 
9 #include "ofc/core.h"
10 #include "ofc/types.h"
11 #include "ofc/handle.h"
12 
41 typedef struct {
44 } WAIT_SET;
45 
46 #if defined(__cplusplus)
47 extern "C"
48 {
49 #endif
60 OFC_CORE_LIB OFC_HANDLE
68 OFC_CORE_LIB OFC_VOID
80 OFC_CORE_LIB OFC_HANDLE
88 OFC_CORE_LIB OFC_VOID
102 OFC_CORE_LIB OFC_VOID
113 OFC_CORE_LIB OFC_VOID
121 OFC_CORE_LIB OFC_VOID
132 OFC_CORE_LIB OFC_VOID
134 
135 #if defined(OFC_HANDLE_DEBUG)
139 OFC_CORE_LIB OFC_VOID
140 ofc_waitset_log_measure(OFC_HANDLE handle) ;
144 #endif
145 
146 #if defined(__cplusplus)
147 }
148 #endif
150 #endif
OFC_DWORD_PTR OFC_HANDLE
Definition: handle.h:43
Definition: waitset.h:41
OFC_VOID * impl
Definition: waitset.h:43
OFC_HANDLE hHandleQueue
Definition: waitset.h:42
void OFC_VOID
Definition: types.h:159
OFC_CORE_LIB OFC_VOID ofc_waitset_remove(OFC_HANDLE hSet, OFC_HANDLE hEvent)
OFC_CORE_LIB OFC_HANDLE ofc_waitset_create(OFC_VOID)
OFC_CORE_LIB OFC_VOID ofc_waitset_wake(OFC_HANDLE handle)
OFC_CORE_LIB OFC_VOID ofc_waitset_add(OFC_HANDLE hSet, OFC_HANDLE hApp, OFC_HANDLE hEvent)
OFC_CORE_LIB OFC_VOID ofc_waitset_clear(OFC_HANDLE handle)
OFC_CORE_LIB OFC_VOID ofc_waitset_destroy(OFC_HANDLE handle)
OFC_CORE_LIB OFC_VOID ofc_waitset_clear_app(OFC_HANDLE handle, OFC_HANDLE hApp)
OFC_CORE_LIB OFC_HANDLE ofc_waitset_wait(OFC_HANDLE handle)