boost::capy::get_system_context

Return the process‐wide system thread pool.

Synopsis

thread_pool&
get_system_context();

Description

This singleton is the default execution context used when no explicit context is supplied (for example, by timers and services). It provides an executor via get_executor() and runs scheduled work on its worker threads.

Thread Safety

Safe to call from any thread.

Return Value

Reference to the system thread pool singleton.

Created with MrDocs