|
CeresEngine 0.2.0
A game development framework
|
An executor that runs anything in a new thread, like std::async does.
More...
#include <CeresEngine/Foundation/Threading/ExecutionContext.hpp>
Static Private Member Functions | |
| static constexpr ExecutorMapping::new_thread_t | query (ExecutorMapping) noexcept |
Query the current value of the mapping property. | |
| static constexpr ExecutorBlocking::never_t | query (ExecutorBlocking) noexcept |
Query the current value of the blocking property. | |
| static constexpr ExecutorRelationship::continuation_t | query (ExecutorRelationship) noexcept |
Query the current value of the relationship property. | |
| static constexpr ExecutorOutstandingWork::untracked_t | query (ExecutorOutstandingWork) noexcept |
Query the current value of the outstanding_work property. | |
| static constexpr ExecutorBulkGuarantee::parallel_t | query (ExecutorBulkGuarantee) noexcept |
Query the current value of the bulk_guarantee property. | |
| static constexpr std::size_t | query (ExecutorOccupancy) noexcept |
| Query the occupancy (recommended number of work items) for the system context. | |
| template<typename Function > | |
| static void | execute (Function &&f) |
| Execution function. | |
Friends | |
| struct | asio_query_fn::impl |
| struct | asio::execution::detail::mapping_t< 0 > |
| struct | asio::execution::detail::blocking_t< 0 > |
| struct | asio::execution::detail::relationship_t< 0 > |
| struct | asio::execution::detail::outstanding_work_t< 0 > |
| struct | asio::execution::detail::bulk_guarantee_t< 0 > |
| struct | asio::execution::detail::occupancy_t< 0 > |
| struct | asio_execution_execute_fn::impl |
| constexpr bool | operator== (const ThreadExecutor &lhs, const ThreadExecutor &rhs) noexcept |
| Compare two executors for equality. | |
| constexpr bool | operator!= (const ThreadExecutor &lhs, const ThreadExecutor &rhs) noexcept |
| Compare two executors for inequality. | |
An executor that runs anything in a new thread, like std::async does.
Execution function.
|
inlinestaticconstexprprivatenoexcept |
Query the current value of the blocking property.
|
inlinestaticconstexprprivatenoexcept |
Query the current value of the bulk_guarantee property.
|
inlinestaticconstexprprivatenoexcept |
Query the current value of the mapping property.
|
inlinestaticconstexprprivatenoexcept |
Query the occupancy (recommended number of work items) for the system context.
|
inlinestaticconstexprprivatenoexcept |
Query the current value of the outstanding_work property.
|
inlinestaticconstexprprivatenoexcept |
Query the current value of the relationship property.
|
friend |
Compare two executors for inequality.
|
friend |
Compare two executors for equality.