neoGFX
Cross-platform C++ app/game engine
|
#include <thread.hpp>
Classes | |
struct | cancellation |
struct | cannot_wait_on_self |
struct | no_thread_object |
struct | not_in_thread |
struct | thread_already_started |
struct | thread_not_started |
Public Types | |
typedef std::thread::id | id_type |
typedef std::thread | thread_object_type |
Static Public Member Functions | |
static void | sleep (const std::chrono::duration< double, std::milli > &aDuration) |
static void | yield () |
static uint64_t | elapsed_ms () noexcept |
static uint64_t | elapsed_us () noexcept |
static uint64_t | elapsed_ns () noexcept |
static uint64_t | program_elapsed_ms () noexcept |
static uint64_t | program_elapsed_us () noexcept |
static uint64_t | program_elapsed_ns () noexcept |
Additional Inherited Members |
Definition at line 51 of file thread.hpp.
typedef std::thread::id neolib::thread::id_type |
Definition at line 55 of file thread.hpp.
typedef std::thread neolib::thread::thread_object_type |
Definition at line 56 of file thread.hpp.
|
virtual |
Implements neolib::i_thread.
|
noexcept |
void neolib::thread::block | ( | ) |
|
noexcept |
void neolib::thread::cancel | ( | ) |
|
noexcept |
|
noexcept |
|
overridevirtualnoexcept |
Implements neolib::i_thread.
|
noexcept |
|
noexcept |
bool neolib::thread::in | ( | ) | const |
bool neolib::thread::msg_wait | ( | const i_message_queue & | aMessageQueue | ) | const |
wait_result neolib::thread::msg_wait | ( | const i_message_queue & | aMessageQueue, |
const waitable_event_list & | aEventList | ||
) | const |
|
overridevirtualnoexcept |
Implements neolib::i_thread.
|
noexcept |
|
static |
void neolib::thread::start | ( | ) |
|
noexcept |
|
overridevirtualnoexcept |
Implements neolib::i_thread.
thread_object_type & neolib::thread::thread_object | ( | ) | const |
void neolib::thread::unblock | ( | ) |
|
noexcept |
void neolib::thread::wait | ( | ) | const |
wait_result neolib::thread::wait | ( | const waitable_event_list & | aEventList | ) | const |