Synchronization for multiple readers, single writer?

后端 未结 7 529
余生分开走
余生分开走 2021-01-01 01:32

Another synchronization question...I hope you guys don\'t get annoyed ;)

Assume the following scenario: one central data structure (very large, so I don\'t really wa

7条回答
  •  孤城傲影
    2021-01-01 02:06

    The reader-writer lock is what you need. Tutorial has a description, but I'm sure someone was adding this as standard to Delphi. May be worth checking D2009 doesn't have it already.

提交回复
热议问题