SObjectizer  5.7
Namespaces | Typedefs | Functions
current_thread_id.hpp File Reference

A workaround for very slow implementation of std::this_thread::get_id() under some compilers. More...

#include <thread>

Go to the source code of this file.

Namespaces

 so_5
 Public part of message limit implementation.
 

Typedefs

using so_5::current_thread_id_t = std::thread::id
 Type of the current thread id. More...
 

Functions

current_thread_id_t so_5::query_current_thread_id ()
 Get the ID of the current thread. More...
 
current_thread_id_t so_5::null_current_thread_id ()
 Get NULL thread id. More...
 
std::thread::id so_5::raw_id_from_current_thread_id (const current_thread_id_t &w)
 Get the raw thread id from current_thread_id. More...
 

Detailed Description

A workaround for very slow implementation of std::this_thread::get_id() under some compilers.

Since
v.5.4.0
Note
This header file was actual when too old versions of VC++ compilers were used. Now it is here for compatibility reasons.