|
|
| FiberScheduler (const FiberScheduler &)=delete |
| |
|
FiberScheduler & | operator= (const FiberScheduler &)=delete |
| |
|
Result | enableRuntimeOwnedStacks () |
| |
|
bool | usesRuntimeOwnedStacks () const |
| |
|
Result | checkExecutionThread () const |
| |
|
Result | spawn (FiberTask &task, FiberStack &stack, FiberTask::Procedure procedure, FiberCounter *counter=nullptr) |
| |
|
Result | spawn (FiberTask &task, FiberStack &stack, FiberTask::Procedure procedure, FiberCancellationToken token, FiberCounter *counter=nullptr) |
| |
|
Result | spawn (FiberTask &task, FiberStack &stack, FiberTask::Procedure procedure, const FiberTaskSpawnOptions &options) |
| |
|
Result | runOnce () |
| |
|
Result | runOnce (FiberWorker &worker) |
| |
|
Result | runOnce (FiberWorker &worker, Span< FiberWorker > workerGroup) |
| |
|
Result | runNoWait () |
| |
|
Result | runNoWait (FiberWorker &worker) |
| |
|
Result | runNoWait (FiberWorker &worker, Span< FiberWorker > workerGroup) |
| |
|
Result | runReadyFibers () |
| |
|
Result | runReadyFibers (FiberWorker &worker) |
| |
|
Result | runReadyFibers (FiberWorker &worker, Span< FiberWorker > workerGroup) |
| |
|
Result | run () |
| |
|
Result | run (FiberWorker &worker) |
| |
|
Result | run (FiberWorker &worker, Span< FiberWorker > workerGroup) |
| |
|
Result | createWorkerDeques (FiberAllocator &allocator, Span< FiberWorker > workers, size_t capacityPerWorker) |
| |
|
void | releaseWorkerDeques (Span< FiberWorker > workers) |
| |
|
Result | yield () |
| |
|
Result | shutdown () |
| |
|
Result | shutdown (FiberWorker &worker) |
| |
|
Result | shutdown (FiberWorker &worker, Span< FiberWorker > workerGroup) |
| |
|
Result | requestCancel (FiberTask &task) |
| |
|
Result | requestCancel (FiberCancellationTokenSource &tokenSource) |
| |
|
Result | requestCancelAll () |
| |
|
void | add (FiberCounter &counter) |
| |
|
Result | done (FiberCounter &counter) |
| |
|
Result | wait (FiberCounter &counter) |
| |
|
Result | waitUninterruptible (FiberCounter &counter) |
| |
|
void | setTraceHooks (const FiberTraceHooks &hooks) |
| |
|
void | clearTraceHooks () |
| |
|
FiberTask * | currentTask () |
| |
|
const FiberTask * | currentTask () const |
| |
|
bool | isCurrentTaskCancellationRequested () const |
| |
|
bool | hasReadyFibers () const |
| |
|
bool | hasActiveFibers () const |
| |
|
size_t | readyFiberCount () const |
| |
|
size_t | readyFiberCount (const FiberWorker &worker) const |
| |
|
size_t | stolenFiberCount (const FiberWorker &worker) const |
| |
|
size_t | stolenFiberCount (Span< FiberWorker > workers) const |
| |
|
size_t | activeFiberCount () const |
| |
|
void | schedulerDiagnostics (FiberSchedulerDiagnostics &diagnostics) const |
| |
|
void | resetSchedulerDiagnostics () |
| |
|
void | workerDiagnostics (const FiberWorker &worker, FiberWorkerDiagnostics &diagnostics) const |
| |
|
void | workerDiagnostics (Span< FiberWorker > workers, FiberWorkerDiagnostics &diagnostics) const |
| |
|
void | resetWorkerDiagnostics (FiberWorker &worker) |
| |
|
void | resetWorkerDiagnostics (Span< FiberWorker > workers) |
| |
Cooperative fiber scheduler with explicit workers and caller-owned storage.