Win32 Read/Write Lock Using Only Critical Sections

前端 未结 10 1365
攒了一身酷
攒了一身酷 2020-12-14 12:20

I have to implement a read/write lock in C++ using the Win32 api as part of a project at work. All of the existing solutions use kernel objects (semaphores and mutexes) tha

10条回答
  •  没有蜡笔的小新
    2020-12-14 12:37

    Take a look at the book "Concurrent Programming on Windows" which has lots of different reference examples for reader/writer locks.

提交回复
热议问题