Skip to main content

chronon::HostServices

More...

#include <HostServices.hpp>

Public Functions

Name
~HostServices()
voidpoll(size_t & cursor)
HostServices &operator=(const HostServices & ) =delete
HostServices &operator=(HostServices && ) =delete
boolhasRegistration(const std::shared_ptr< HostServiceRegistration > & service) const
std::unique_ptr< HostIOJob >addIO(std::shared_ptr< HostServiceRegistration > service, void * context, HostIOJob::Callback callback)
std::shared_ptr< HostServiceRegistration >add(HostService & service)
HostServices(bool drive_services =false)
HostServices(const HostServices & ) =delete
HostServices(HostServices && ) =delete

Detailed Description

class chronon::HostServices;

Scheduler-owned registrations and blocking I/O. Register only while model workers are quiescent. Each opportunity visits one ingress/job fairly.

Public Functions Documentation

function ~HostServices

inline ~HostServices()

function poll

inline void poll(
size_t & cursor
)

function operator=

HostServices & operator=(
const HostServices &
) =delete

function operator=

HostServices & operator=(
HostServices &&
) =delete

function hasRegistration

inline bool hasRegistration(
const std::shared_ptr< HostServiceRegistration > & service
) const

Registration identity survives I/O handoffs and cannot alias a new scheduler constructed at the same address as a destroyed one.

function addIO

inline std::unique_ptr< HostIOJob > addIO(
std::shared_ptr< HostServiceRegistration > service,
void * context,
HostIOJob::Callback callback
)

function add

inline std::shared_ptr< HostServiceRegistration > add(
HostService & service
)

function HostServices

inline explicit HostServices(
bool drive_services =false
)

function HostServices

HostServices(
const HostServices &
) =delete

function HostServices

HostServices(
HostServices &&
) =delete

Updated on 2026-09-22 at 07:28:40 +0000