1

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.

Tony Huy
  • 11
  • 1
  • Add more context, i.e. header declaration, initialization, actual code (not pseudo-code), complete compiler error with line information. – Frank Osterfeld Apr 25 '13 at 09:04

0 Answers0