Dalija Prasnikar
Running long tasks in a background thread to keep the UI responsive is one of the main purposes of multithreading. A common code pattern for doing so would look like:procedure TMainForm.BtnClick(Sender: TObject);begin TThread.CreateAnonymousThread( … – Details…
1 day ago in Delphi, multithreading, synchronize
0
gabr42
While the TLightweightMREW is quite handy, it is not perfect. There’s a weird assymmetry in it. On all operating systems that Delphi can compile for, read locks are reentrant (recursive) while write locks are not. In other words,… – Details…
3 weeks ago in Delphi, multithreading, programming, synchronization
0
gabr42
In the previous installment I introduced the idea of a readers-writer lock. Today I’ll look into readers-writer lock implementations (yes, multiple) that are available in the Delphi run-time library.Read more »— Published under the Creative… – Details…
3 months ago in Delphi, multithreading, programming, synchronization
0
Ondrej Kelle
Having blogged about a few bugs in multi-threading libraries recently, I want to show an easy and convenient alternative. It’s minimalistic but it works. On Windows, the I/O completion port offers a way to use… – Details…
3 years ago in Delphi, fpc, iocp, multithreading, windows
0
Ondrej Kelle
So you’ve put in the time and effort to refactor your code and data for parallel execution and are eager to see some parallel action. Unfortunately, you might be disappointed; in some cases your tasks… – Details…
3 years ago in Bug, Delphi, multithreading
0