The following code example demonstrates this method by using a data member, m_CritSection (of type CCriticalSection), declared in the shared resource class and a CSingleLock object.

  • 下面的代码示例通过使用在共享资源类和CSingleLock对象中声明的数据成员m_CritSection(CCriticalSection类型),对此方法进行了说明。
目录 查词历史