Tag: delphi
It is not easy to debug multithreading application because of threads jumping and interleaving each other. When I was debugging some algorithms, I always change the application setting to …
Given a 32-bit DWORD, and two threads A and B, do they require Mutex (exclusive resources) to read/write the High/Low DWORD respectively? e.g. Thread A reads two low bytes …
I have recently migrated my project from Delphi 2007 to Delphi XE8 (and Seattle). It is a COM+ DLL and all API interfaces stay the same. However, for backward …
I wrote a Chinese Chess freeware in 2005 (ten years) ago (as the bachelor final year project). The project was initially written and compiled under Delphi 7. Later I …
From Delphi XE7, there is a Parallel.For. There is also a OmniThreadLibrary (OTL) but it doesn’t compile on D2007 because there is no support for Generics and Anonymous methods …