MLIB
|
thread class definition. More...
Go to the source code of this file.
Data Structures | |
class | mlib::thread |
Wrapper for a Windows thread. More... | |
class | mlib::current_thread |
Currently executing thread object. More... | |
Concepts | |
concept | mlib::ThreadDerived |
Specialization of wait functions for threads, re-throw any exceptions that might have occurred during thread execution. | |
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, std::chrono::milliseconds limit) |
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_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. | |
thread class definition.
(c) Mircea Neacsu 1999-2017