54 qWarning(
"%s: %s failure: %d", where, what, code);
59 : contenders(0), wakeup(
FALSE)
77 errorCode = pthread_cond_wait(&
cond, &
mutex);
97 bool returnValue =
false;
99 if (m_value == expectedValue)
112 returnValue = m_value;
113 m_value += valueToAdd;
static void report_error(int code, const char *where, const char *what)
void qWarning(const char *msg,...)
CodeOutputInterface * code
int fetchAndAdd(int valueToAdd)
bool testAndSet(int expectedValue, int newValue)
static pthread_mutex_t qAtomicMutex