|
cds
1.3.0
|
Windows-specific functions. More...
Data Structures | |
| struct | topology |
| System topology. More... | |
Typedefs | |
| typedef DWORD | error_code |
| OS-specific type of error code. | |
| typedef DWORD | ThreadId |
| OS-specific type of thread identifier. | |
| typedef HANDLE | ThreadHandle |
| OS-specific type of thread handle. | |
Functions | |
| static error_code | getErrorCode () |
| Get system error code. | |
| static std::string | getSystemErrorText (error_code nCode) |
| Get system error text. | |
| static constexpr ThreadId | nullThreadId () |
| Get null thread id. | |
| static ThreadId | getCurrentThreadId () |
| Get current thread id. | |
| static bool | isThreadAlive (ThreadId id) |
| Tests whether the thread is alive. | |
| static void | yield () |
| Yield current thread, switch to another. | |
| static void | backoff () |
| Default backoff::yield implementation. | |
Windows-specific functions.
Windows-specific wrappers.