6 #ifndef _INC_cOSHandleSet_H
7 #define _INC_cOSHandleSet_H
26 static const int k_nHandeMax =
37 #elif defined(__linux__)
45 void InitHandles() noexcept
86 m_hHandleMax = nss.m_hHandleMax;
100 if (h == INVALID_HANDLE_VALUE)
103 if ( h > m_hHandleMax )
110 if (m_fds.
GetSize() >= MAXIMUM_WAIT_OBJECTS)
118 if (h == INVALID_HANDLE_VALUE)
#define GRAYCORE_LINK
Definition: GrayCore.h:47
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define HANDLE_NULL
Invalid OS handle for _WIN32. Not invalid OS handle for linux.
Definition: cOSHandle.h:21
void RemoveAll()
Clean up.
Definition: cArray.h:230
ITERATE_t Add(ARG_TYPE newElement)
Definition: cArray.h:199
ITERATE_t GetSize() const noexcept
Definition: cArray.h:137
bool RemoveArg(ARG_TYPE arg)
Definition: cArray.h:650
Definition: cOSHandleSet.h:18
void RemoveHandle(HANDLE h)
Definition: cOSHandleSet.h:116
~cOSHandleSet()
Definition: cOSHandleSet.h:75
void ClearHandles()
Definition: cOSHandleSet.h:126
cOSHandleSet(void) noexcept
Definition: cOSHandleSet.h:54
void SetCopy(const cOSHandleSet &nss)
Definition: cOSHandleSet.h:83
cOSHandleSet(HANDLE h)
Definition: cOSHandleSet.h:58
cOSHandleSet(const cOSHandleSet &nss)
Definition: cOSHandleSet.h:70
bool AddHandle(HANDLE h)
Definition: cOSHandleSet.h:94
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
INT32 TIMESYSD_t
Time delta. signed milli-Seconds Span. cTimeSys::k_DMAX, cTimeSys::k_INF = MAILSLOT_WAIT_FOREVER.
Definition: cTimeSys.h:28
static void Copy(void *pDst, const void *pSrc, size_t nSizeBlock) noexcept
Definition: cMem.h:132