'class QMutex' has no member named 'EnterCriticalSection'

273 Views Asked by At

I'm using QT 4.8 and whenever i do a simple usage of QMutex, I get the compilation error of: 'class QMutex' has no member named 'EnterCriticalSection'

Sample:

void classA::write (int x)
{
   mutex->lock()
   ... do something
   mutex->unlock()
}

mutex is defined as a member in the class and initialized in the header.

0

There are 0 best solutions below