EntropyEngine::Core::Concurrency::IWorkScheduler::ScheduleResult
EntropyEngine::Core::Concurrency::IWorkScheduler::ScheduleResult
Section titled “EntropyEngine::Core::Concurrency::IWorkScheduler::ScheduleResult”Result of a scheduling decision. More…
#include <IWorkScheduler.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| bool | shouldSleep Hint: true if thread should sleep vs spin (ignored if group != nullptr). |
| WorkContractGroup * | group Group to execute from (nullptr = no work available). |
Detailed Description
Section titled “Detailed Description”struct EntropyEngine::Core::Concurrency::IWorkScheduler::ScheduleResult;Result of a scheduling decision.
Encapsulates the scheduler’s decision for the worker thread. Indicates either a selected work group or the absence of available work. The shouldSleep hint guides the WorkService in choosing between spinning and backing off when no work is available.
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable shouldSleep
Section titled “variable shouldSleep”bool shouldSleep;Hint: true if thread should sleep vs spin (ignored if group != nullptr).
variable group
Section titled “variable group”WorkContractGroup * group;Group to execute from (nullptr = no work available).
Updated on 2026-01-26 at 17:14:35 -0500