[ CCode ( type_id = "dex_thread_pool_get_type ()" ) ]
[ Version ( since = "1.2" ) ]
public sealed class ThreadPool : Object
`DexThreadPool` is a thread pool for managing native OS threads similar to [struct@GLib.
ThreadPool].
The threads managed by `DexThreadPool` do not contain a [class@Dex.Scheduler] which means that you cannot await futures or schedule [ class@Dex.Block] from a worker thread.
Threads are created up-front from [ctor@Dex.ThreadPool.new].
`DexThreadPool` primarily exists for situations where you are using blocking external libraries and want to avoid calling [ func@Dex.thread_spawn] without any sort of queuing or bounding on the permitted concurrency.