Skip to main content

start_deferred_task_work_service

Function start_deferred_task_work_service 

Source
pub fn start_deferred_task_work_service() -> Result<(), TaskError>
Expand description

Creates the shutdown-lifetime service thread for callbacks and reclamation.

A runtime must call this once after publishing its primary scheduler CPU and before allowing ordinary application threads to exit. The service is the only consumer of deferred Deadline, exit, and destruction work.