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
  • I think you're missing the second thread in the application. The GUI thread pushes a message into a ring buffer, where an aux thread pulls it, the aux thread then pushes that message into a second ring buffer, where the GUI thread pulls it off. There are two threads communicating with each other via ring buffers.
No Data