TTaskScheduler.CreatePool

Creates a dedicated thread pool for executing tasks with class TaskClass

Source

Task.Scheduler.pas (69)

Description

You can configure the minimum and maximum allowed number of worker threads. Also you can configure how many tasks can be scheduled asynchronously to the work queue before scheduling a task will block.