|
template<typename T , typename Func > |
T | utils::AtomicUpdate (std::atomic< T > &atomic, Func updater) |
| Atomically performs the operation of updater on atomic
|
|
template<typename T > |
T | utils::AtomicMin (std::atomic< T > &atomic, T value) |
| Concurrently safe sets atomic to a value if value is less.
|
|
template<typename T > |
T | utils::AtomicMax (std::atomic< T > &atomic, T value) |
| Concurrently safe sets atomic to a value if value is greater.
|
|
template<typename... Tasks> |
auto | engine::GetAll (Tasks &... tasks) |
| Waits for the successful completion of all of the specified tasks or the cancellation of the caller.
|
|
template<typename... Tasks> |
void | engine::WaitAllChecked (Tasks &... tasks) |
| Waits for the successful completion of all of the specified tasks or for the cancellation of the caller.
|
|
template<typename... Tasks> |
std::optional< std::size_t > | engine::WaitAny (Tasks &... tasks) |
| Waits for the completion of any of the specified tasks or the cancellation of the caller.
|
|
template<typename Function , typename... Args> |
auto | utils::CriticalAsync (engine::TaskProcessor &task_processor, std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::SharedCriticalAsync (engine::TaskProcessor &task_processor, std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::Async (engine::TaskProcessor &task_processor, std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::SharedAsync (engine::TaskProcessor &task_processor, std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::Async (engine::TaskProcessor &task_processor, std::string name, engine::Deadline deadline, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::SharedAsync (engine::TaskProcessor &task_processor, std::string name, engine::Deadline deadline, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::CriticalAsync (std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::SharedCriticalAsync (std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::Async (std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::SharedAsync (std::string name, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::Async (std::string name, engine::Deadline deadline, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::SharedAsync (std::string name, engine::Deadline deadline, Function &&f, Args &&... args) |
|
template<typename Function , typename... Args> |
auto | utils::AsyncBackground (std::string name, engine::TaskProcessor &task_processor, Function &&f, Args &&... args) |
|