Pooling

Starting a thread is relatively slow operation, which is why threads, used in the high-level abstractions, are not constantly created and destroyed. Rather than that, they are allocated from a thread pool.

All high-level abstractions are using the same thread pool, GlobalParallelPool. It has public visibility – just in case you have to configure its parameters.

function GlobalParallelPool: IOmniThreadPool;
book/highlevel/intro/pooling.txt · Last modified: 2012/11/14 11:51 by gabr
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki