Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::FiberWorkerPool Struct Reference

No-allocation OS-thread-owning worker pool using caller-provided worker and thread storage. More...

#include <Fibers.h>

Classes

struct  WakeEventDefinition
 

Public Types

using WakeEventOpaque = OpaqueObject<WakeEventDefinition>
 

Public Member Functions

 FiberWorkerPool (const FiberWorkerPool &)=delete
 
FiberWorkerPooloperator= (const FiberWorkerPool &)=delete
 
Result start (FiberScheduler &scheduler, Span< FiberWorker > workerStorage, Span< FiberWorkerThread > threadStorage)
 
Result start (FiberScheduler &scheduler, Span< FiberWorker > workerStorage, Span< FiberWorkerThread > threadStorage, const FiberWorkerPoolOptions &options)
 
Result requestStop ()
 
Result join ()
 
Result shutdown ()
 
bool isRunning () const
 
size_t workerCount () const
 

Friends

struct FiberScheduler
 
struct FiberWorkerThread
 

Detailed Description

No-allocation OS-thread-owning worker pool using caller-provided worker and thread storage.


The documentation for this struct was generated from the following file: