63 virtual auto schedule(std::unique_ptr<job>&& work) -> common::VoidResult = 0;
71 virtual auto get_next_job() -> common::Result<std::unique_ptr<job>> = 0;
Scheduler interface for queuing and retrieving jobs.
virtual ~scheduler_interface()=default
virtual auto get_next_job() -> common::Result< std::unique_ptr< job > >=0
Dequeue the next available job.
virtual auto schedule(std::unique_ptr< job > &&work) -> common::VoidResult=0
Enqueue a job for processing.
Error codes and utilities for the thread system.
Base job class for schedulable work units in the thread system.
Core threading foundation of the thread system library.