#include <Util.h>
|
| AsyncSched (int workerCount, int workerTaskMax) |
|
template<class Func > |
void | operator() (Func &&f) |
|
| Pool (szt workerCount, szt workerTaskMax) |
|
| ~Pool () |
|
template<class Task > |
void | enqueue (Task &&task) |
| Schedule a task for execution. More...
|
|
| SharedObj (Alloc &&a=Alloc()) debug_if( |
| Construct with allocator that is called to deallocate this shared object when all references have been released. More...
|
|
|
static AsyncSched & | inst () |
|
static Task * | current () |
| Get the current task object of the calling thread. Must be called from inside a task, returns null otherwise. More...
|
|
|
static bool | trace = false |
| Whether to log task execution flow. More...
|
|
|
void | finalize () |
| Destroys object. Called when strong reference count reaches 0. May be overridden to prevent destruction. More...
|
|
honey::future::AsyncSched::AsyncSched |
( |
int |
workerCount, |
|
|
int |
workerTaskMax |
|
) |
| |
|
inline |
static AsyncSched& honey::future::AsyncSched::inst |
( |
| ) |
|
|
inlinestatic |
template<class Func >
void honey::future::AsyncSched::operator() |
( |
Func && |
f | ) |
|
|
inline |
bool honey::future::AsyncSched::trace = false |
|
static |
Whether to log task execution flow.
The documentation for this struct was generated from the following files:
- src/common/Honey/Thread/Future/Util.h
- src/common/Honey/Thread/Future/Util.cpp