|
CeresEngine 0.2.0
A game development framework
|
An executor that runs anything inline. More...
#include <CeresEngine/Foundation/Threading/ExecutionContext.hpp>
Static Private Member Functions | |
| static constexpr ExecutorMapping::other_t | query (ExecutorMapping) noexcept |
Query the current value of the mapping property. | |
| static constexpr ExecutorBlocking::always_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::sequenced_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 constexpr void | execute (Function &&f) |
| Execution function. | |
An executor that runs anything inline.
Although simple, it needs to meet the executor requirements:
|
inlinestaticconstexprprivate |
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 |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Compare two executors for inequality.
|
friend |
Compare two executors for equality.