Melbourne Meeting – May 2018

Monday 21st May.

John McDonald and Brian Watson gave a presentation on MultiThreading in Delphi.

John discussed the use of TThread for multithreading and the issues that have to be handled in multi-threaded applications. He showed a small program that illustrated the use of TThread.Queue and anonymous methods to communicate back to the main thread. He then showed code that uses a TThread to run a simulation and update a TBitMap.Canvas to give a continuous animation of the simulation. This code used CriticalSections to synchronise access to shared state.

Brian will showed a current project that uses OmniThread Library (Developed by Primož Gabrijelčič) to create a REST Client connecting to a cloud database that is running inside a Windows CAD application.

The meeting was held at the Melbourne Men’s Shed, situated in the Federation Square Car Park building, off Russell St Extension.

Posted in Meetings, Melbourne Tagged with: