Using OmniThreadLibrary
OmniThreadLibrary is a multithreading library for Delphi, written mostly by the author of this book. It was originally written for Delphi 2007 – and it still supports that version, which is why it duplicates some functionality that was added to Delphi after the 2007 release. For example, there is a TOmniValue
type that can store values of any type and which is a clear duplicate of Delphi’s TValue
, parallel patterns are based on custom task implementation, and so on. There is also quite some similarity between OmniThreadLibrary and the Parallel Programming Library. For example, they both implement similar Future and Join constructs. There are also some dissimilarities that I’ll try to point out in this chapter.
OmniThreadLibrary is released under an OpenBSD license, which allows its free use in commercial applications. It supports VCL, console, and service operations on Windows but does not work on other operating systems.
Note
I...