Question about NamedMutex WaitForSingleObject() and std::lock_guard()

后端 未结 0 730
囚心锁ツ
囚心锁ツ 2021-01-25 15:44

I saw two implementation of NamedMutex:

  1. Make a wrapper of NamedMutex, call CreateMutex(), WaitForSingleObject() in ctor and ReleaseMutex(),CloseHandle() in dtor. To
相关标签:
回答
  • 消灭零回复
提交回复
热议问题