项目作者: silvioprog

项目描述 :
Read a protected memory simultaneously while other threads writes to it with exclusive access.
高级语言: Pascal
项目地址: git://github.com/silvioprog/TLightweightMREWSynchronizer.git
创建时间: 2019-04-28T04:20:37Z
项目社区:https://github.com/silvioprog/TLightweightMREWSynchronizer

开源协议:

下载


TLightweightMREWSynchronizer

TLightweightMREWSynchronizer allows multiple threads to read from the protected memory simultaneously, while ensuring that any thread writing to the memory has exclusive access.

Temporary repo

This class/repo is just a study I’m doing to solve a deadlock problem I’ve got in a threaded commercial application I work on. I know TMultiReadExclusiveWriteSynchronizer and I would like to use it, however, I was frustrated to experience its slowness when comparing it to a common TCriticalSection.