![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cOSHandleSet.h>
Public Member Functions | |
cOSHandleSet (void) noexcept | |
cOSHandleSet (HANDLE h) | |
cOSHandleSet (const cOSHandleSet &nss) | |
~cOSHandleSet () | |
void | operator= (const cOSHandleSet &nss) |
void | SetCopy (const cOSHandleSet &nss) |
bool | AddHandle (HANDLE h) |
void | RemoveHandle (HANDLE h) |
void | ClearHandles () |
HRESULT | WaitForObjects (TIMESYSD_t dwMilliseconds, bool bWaitForAll=false) |
Static Public Attributes | |
static const int | k_nHandeMax |
A collection of cOSHandle Wait on any of a set of OS handles to be signaled. Similar to cNetSocketSet and ::select() especially for linux Similar to _WIN32 WaitForMultipleObjects(). MAX = MAXIMUM_WAIT_OBJECTS or FD_SETSIZE
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
Add OSHandle to the set.
|
inline |
|
inline |
|
inline |
|
inline |
HRESULT Gray::cOSHandleSet::WaitForObjects | ( | TIMESYSD_t | dwMilliseconds, |
bool | bWaitForAll = false |
||
) |
Wait for any or all of these handles to be signaled.
|
static |