加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

多线程 – 有利于读者的Delphi MREW实现?

发布时间:2020-12-15 08:31:20 所属栏目:Java 来源:网络整理
导读:是否有Delphi实现的MREW(多次读取,独占写入)锁定,有利于读取写入? 解决方法 我认为 TMultiReadExclusiveWriteSynchronizer已经吸引了读者. As the name of the component implies, a TMREWS should be used when there is much reading and little writing
是否有Delphi实现的MREW(多次读取,独占写入)锁定,有利于读取写入?

解决方法

我认为 TMultiReadExclusiveWriteSynchronizer已经吸引了读者.

As the name of the component implies,
a TMREWS should be used when there is
much reading and little writing to be
done. In addition,the READ operations
should be kept to a MINIMUM otherwise
your write threads could be left
waiting indefinitely.

它位于SysUtils单元中.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读