Delphi MREW implementation that favors readers?

Is there a Delphi implementation of the MREW lock (multiple write, exclusive write) that facilitates read-write?

+3
source share
2 answers

I think TMultiReadExclusiveWriteSynchronizer already welcomes readers.

As the name of the component implies, TMREWS should be used when there is a lot to read and little written to do. In addition, READ operations should be stored MINIMUM otherwise your records may be left waiting indefinitely.

It is located in the SysUtils block.

+6
source

TJclMultiReadExclusiveWrite JEDI JCL (http://www.delphi-jedi.org/). , , , .

+1

Source: https://habr.com/ru/post/1723007/


All Articles