52 qWarning(
"QMutexPrivate::QMutexPrivate: Cannot create event");
62 WaitForSingleObject(
event, INFINITE);
77 void lock() { EnterCriticalSection(§ion); }
78 void unlock() { LeaveCriticalSection(§ion); }
88 bool returnValue =
false;
89 qAtomicCriticalSection.
lock();
95 qAtomicCriticalSection.
unlock();
102 qAtomicCriticalSection.
lock();
105 qAtomicCriticalSection.
unlock();
void qWarning(const char *msg,...)
static QCriticalSection qAtomicCriticalSection
int fetchAndAdd(int valueToAdd)
bool testAndSet(int expectedValue, int newValue)
Event finding and building.