thread_pool
September 14, 2025 ยท View on GitHub
Shows how to use xtd::threading::thread_pool class.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
Main thread does some work, then sleeps.
Hello from the thread pool.
Main thread exits.