|
MLIB
|
Definition of mlib::syncbase class. More...
#include "safe_winsock.h"#include <string>#include <atomic>#include <vector>#include <chrono>#include <assert.h>Go to the source code of this file.
Classes | |
| class | mlib::syncbase |
| Base class for all named synchronization objects. More... | |
Functions | |
| template<typename T> | |
| DWORD | mlib::wait_all (const T *objs, int count, DWORD msec=INFINITE) |
| Wait for multiple objects until all become signaled. | |
| template<typename T> | |
| DWORD | mlib::wait_all (std::initializer_list< const T * > objs, DWORD msec=INFINITE) |
| Wait for multiple objects until all become signaled. | |
| template<typename T> | |
| DWORD | mlib::wait_all (std::initializer_list< const T * > objs, std::chrono::milliseconds limit) |
| Wait for multiple objects until all become signaled. | |
| template<typename T> | |
| DWORD | mlib::wait_any (const T *objs, int count, DWORD msec=INFINITE) |
| Wait for multiple objects until any of them becomes signaled. | |
| template<typename T> | |
| DWORD | mlib::wait_any (std::initializer_list< const T * > objs, DWORD msec=INFINITE) |
| Wait for multiple objects until any of them becomes signaled. | |
| template<typename T> | |
| DWORD | mlib::wait_any (std::initializer_list< const T * > objs, std::chrono::milliseconds timeout) |
| Wait for multiple objects until any of them becomes signaled. | |
| template<typename T> | |
| DWORD | mlib::wait_msg (const T *objs, int count, bool all=true, DWORD msec=INFINITE, DWORD mask=QS_ALLINPUT) |
| Wait for multiple objects or a message to be queued. | |
| template<typename T> | |
| DWORD | mlib::wait_msg (std::initializer_list< const T * > objs, bool all=true, DWORD msec=INFINITE, DWORD mask=QS_ALLINPUT) |
| Wait for multiple objects or a message to be queued. | |
Definition of mlib::syncbase class.