OmniThreadLibrary distribution includes some complex examples, stored
in the examples
subfolder. This chapter lists all examples. Many are also
explained in the How-to chapter.
checkVat
Using COM/OLE from OmniThreadLibrary.
forEach output
Parallel for with synchronized output
Redirecting output from a parallel ForEach loop into a structure that doesn’t support multithreaded access.
report generator
Simulation of a report generator, which uses multiple Background workers to generate reports; one worker per client.
stringlist parser
Background worker and list partitioning
Writing server-like background processing.
TThread communication
Using message queue with a TThread worker
Using TOmniMessageQueue
to communicate with a TThread
-based worker.
twofish
OmniThreadLibrary and databases
Using databases from OmniThreadLibrary.