Functions | Variables
qmutex_unix.cpp File Reference
#include <errno.h>
#include <pthread.h>
#include "qglobal.h"
#include "qmutex.h"
#include "qmutex_p.h"

Go to the source code of this file.

Functions

static void report_error (int code, const char *where, const char *what)
 

Variables

static pthread_mutex_t qAtomicMutex = PTHREAD_MUTEX_INITIALIZER
 

Function Documentation

static void report_error ( int  code,
const char *  where,
const char *  what 
)
static

Definition at line 51 of file qmutex_unix.cpp.

52 {
53  if (code != 0)
54  qWarning("%s: %s failure: %d", where, what, code);
55 }
void qWarning(const char *msg,...)
Definition: qglobal.cpp:409
CodeOutputInterface * code

Variable Documentation

pthread_mutex_t qAtomicMutex = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 49 of file qmutex_unix.cpp.