CppCommon  1.0.4.1
C++ Common Library
Classes | Namespaces | Macros | Enumerations | Functions
thread.h File Reference

Thread definition. More...

#include "errors/exceptions_handler.h"
#include "time/timestamp.h"
#include <bitset>
#include <thread>
#include "thread.inl"

Go to the source code of this file.

Classes

class  CppCommon::Thread
 Thread abstraction. More...
 

Namespaces

 CppCommon
 C++ Common project definitions.
 

Macros

#define __THREAD__   CppCommon::Thread::CurrentThreadId()
 Current thread Id macro. More...
 

Enumerations

enum class  CppCommon::ThreadPriority : uint8_t {
  CppCommon::IDLE = 0x00 , CppCommon::LOWEST = 0x1F , CppCommon::LOW = 0x3F , CppCommon::NORMAL = 0x7F ,
  CppCommon::HIGH = 0x9F , CppCommon::HIGHEST = 0xBF , CppCommon::REALTIME = 0xFF
}
 Thread priorities. More...
 

Functions

template<class TOutputStream >
TOutputStream & CppCommon::operator<< (TOutputStream &stream, ThreadPriority priority)
 Stream output: Thread priorities. More...
 

Detailed Description

Thread definition.

Author
Ivan Shynkarenka
Date
27.01.2016

Definition in file thread.h.

Macro Definition Documentation

◆ __THREAD__

#define __THREAD__   CppCommon::Thread::CurrentThreadId()

Current thread Id macro.

Get the current thread Id.

Examples
system_stack_trace.cpp.

Definition at line 22 of file thread.h.