Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 QT 4.8,每当我对 QMutex 进行简单使用时,都会出现以下编译错误:'class QMutex' has no member named 'EnterCriticalSection'
样本:
void classA::write (int x) { mutex->lock() ... do something mutex->unlock() }
mutex 被定义为类中的成员并在标头中初始化。