A few posts on why not to use the TPL and be very careful with regular RTL threading code:
- [WayBack] Ondrej Kelle – Google+
- [WayBack] TThreadQueue one of the two generic thread safe classes is broken. RSP-18521 states that it got fixed in Tokyo release, but *is not*. See in https://qua… – Kiriakos Vlahos – Google+
- [WayBack] delphi – Strange behaviour of TParallel.For default ThreadPool – Stack Overflow
- [WayBack] multithreading – How can I use TTask.WaitForAny from the new threading library? – Stack Overflow
In my opinion, threading code needs to be written and maintained by people that live and breath multi-threading. Over the years, RTL and TPL have not lived up to that, but a library like [WayBack] OmniThreadLibrary has.
If you still insist on the TPL, or want to break it, start with these posts: [WayBack] Parallel Programming Archives • Stephen Ball’s Technical Blog
–jeroen






and what started as a
package QQQ {
[CCC]
[DDD]
}
' Linking between packages
PPP --> QQQ
'Linking a component to a package
AAA --> QQQ
'Linking a component to another component
AAA --> CCC

