![]() |
neoGFX
Cross-platform C++ app/game engine
|
#include <async_thread.hpp>
Protected Member Functions | |
| void | exec_preamble () override |
| void | exec (yield_type aYieldType=yield_type::NoYield) override |
Additional Inherited Members | |
Public Types inherited from neolib::thread | |
| typedef std::thread::id | id_type |
| typedef std::thread | thread_object_type |
Static Public Member Functions inherited from neolib::thread | |
| 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 |
Definition at line 45 of file async_thread.hpp.
| neolib::async_thread::async_thread | ( | async_task & | aTask, |
| const std::string & | aName = "", |
||
| bool | aAttachToCurrentThread = false |
||
| ) |
| neolib::async_thread::~async_thread | ( | ) |
|
overrideprotectedvirtual |
Implements neolib::i_thread.
|
overrideprotectedvirtual |
Implements neolib::i_thread.