Skip to main content

Module tokio_workers

Module tokio_workers 

Source

Functions§

active_worker_threads
default_worker_threads
Match Tokio’s default worker count when a runtime does not set it explicitly.
park
set_worker_threads
Initialize the count of non-parked scheduler workers before building the process’s Tokio runtime. Tokio’s thread start/stop hooks also include the blocking pool, while park/unpark hooks apply only to scheduler workers.
unpark