In this video, I demonstrate a technique for communicating between threads in a Delphi application, without using typical locking mechanisms such as critical sections. Best Viewed in Full Screen (Recorded 1080p).

Download the source

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder. Design. Code. Compile. Deploy.

Start Free Trial   Free Delphi Community Edition   Free C++Builder Community Edition   Upgrade Today  

No Data
  • Hi, I maybe missing something... but the source showed one GUI thread entering the message, and another GUI thread (by the OnIdle event) pulling the message. The array is correctly owned by a 2nd thread, but that thread do not interact with the data at all as far as I could tell by glancing over the code :)
No Data