Before using the PPL, I need to check to see if a few things have been fixed yet
Posted by jpluimers on 2019/10/31
Before using the PPL ever, I need to check out at least a few posts like these:
- [WayBack] I try use PPL and ITask, but I get strange things… – Jacek Laskowski – Google+ if you start existing ITask instances faster than TQueueWorkerThread.Execute can schedule them, they are all scheduled on the same thread [Archive.is] https://pastebin.com/aA6s9Q6Y
- [WayBack] … there’s a bug in Berlin/Tokyo which causes thread pool tasks to be executed serially instead of in parallel… – Primož Gabrijelčič – Google+: in some Delphi versions, TParallel.Join does not work and you need to do TTask.WaitForAll.
Most of the PPL code was written by Allen Bauer when he was Chief Scientist at Embarcadero in the 2007-2010 time frame and it was still called DPL (Delphi Parallel Library). The code was released in Delphi XE7 (see [Archive.is] Using the Parallel Programming Library – RAD Studio) but seems hardly maintained after he left.
You can find some of his notes at [Archive.is] The Oracle at Delphi: Parallel Programming
–jeroen
Leave a Reply