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
  • FYI: If you re-watch the last 30 seconds, from time index 35:20, I explain what I just posted in my last comment. Note that the 'test thread' is a class derived from TThread - and note the difference between the 'InPipe' and 'OutPipe' properties. Messages go into the InThread and come out of the OutThread, they are copied from one to the other by the test thread execute method (so inside a second thread).
No Data