2
votes

Life after 2.1: Parallel.Join’s new clothes
The Delphi Geek
– Parallel.Join has started its life as a very simple construct. class procedure Join(const task1, task2: TProc); overload; class procedure Join(const task1, task2: TOmniTaskDelegate); overload; class procedure Join(const tasks: array of TProc); overload; class procedure Join(const tasks: array of TOmniTaskDelegate); overload; Later it got an optional parameter of the IOmnITaskConfig type, but that didn’t change its simplicity. You called Join, it executed some code in parallel, and only when all code blocks completed its execution, your main thread would proceed by executing the statement ...
Statistics
|
Visits by Source |
User Actions |