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,… … Read more
4 years ago in Delphi, multithreading, programming, synchronization0
gabr42
In order to convince you that a readers-writer lock is not a stupid idea, I should finally show some numbers. In this article I’ll present a minimalistic (but still real-life) example which allows us to… … Read more
4 years ago in Delphi, multithreading, programming, synchronization0
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… … Read more
4 years ago in Delphi, multithreading, programming, synchronization0
gabr42
One of the pleasant surprises in Delphi 10.4.1 was the addition of a new readers-writer lock implementation TLightweightMREW. While it was probably not noticed by most of the users, I was quite happy to see… … Read more
4 years ago in Delphi, multithreading, programming, synchronization0