Qt 4.8
|
#include <QtCore/qglobal.h>
#include <QtCore/qhash.h>
Go to the source code of this file.
Macros | |
#define | UNLOCKED {-1,-1,-1,-1} |
#define | UNLOCKED128 UNLOCKED64,UNLOCKED64 |
#define | UNLOCKED16 UNLOCKED8,UNLOCKED8 |
#define | UNLOCKED2 UNLOCKED,UNLOCKED |
#define | UNLOCKED256 UNLOCKED128,UNLOCKED128 |
#define | UNLOCKED32 UNLOCKED16,UNLOCKED16 |
#define | UNLOCKED4 UNLOCKED2,UNLOCKED2 |
#define | UNLOCKED64 UNLOCKED32,UNLOCKED32 |
#define | UNLOCKED8 UNLOCKED4,UNLOCKED4 |
Functions | |
static int * | align16 (int *lock) |
int * | getLock (volatile void *addr) |
void | q_atomic_lock (int *lock) |
void | q_atomic_unlock (int *lock) |
int | q_ldcw (volatile int *addr) |
Variables | |
static int | locks [256][4] = { UNLOCKED256 } |
#define UNLOCKED {-1,-1,-1,-1} |
Definition at line 49 of file qatomic_parisc.cpp.
#define UNLOCKED128 UNLOCKED64,UNLOCKED64 |
Definition at line 56 of file qatomic_parisc.cpp.
Definition at line 53 of file qatomic_parisc.cpp.
Definition at line 50 of file qatomic_parisc.cpp.
#define UNLOCKED256 UNLOCKED128,UNLOCKED128 |
Definition at line 57 of file qatomic_parisc.cpp.
#define UNLOCKED32 UNLOCKED16,UNLOCKED16 |
Definition at line 54 of file qatomic_parisc.cpp.
Definition at line 51 of file qatomic_parisc.cpp.
#define UNLOCKED64 UNLOCKED32,UNLOCKED32 |
Definition at line 55 of file qatomic_parisc.cpp.
Definition at line 52 of file qatomic_parisc.cpp.
|
static |
int* getLock | ( | volatile void * | addr | ) |
Definition at line 62 of file qatomic_parisc.cpp.
void q_atomic_lock | ( | int * | lock | ) |
Definition at line 75 of file qatomic_parisc.cpp.
void q_atomic_unlock | ( | int * | lock | ) |
Definition at line 83 of file qatomic_parisc.cpp.
int q_ldcw | ( | volatile int * | addr | ) |
Referenced by align16(), and q_atomic_lock().
|
static |
Definition at line 60 of file qatomic_parisc.cpp.
Referenced by QWSSignalHandler::addLock(), getLock(), and QWSSignalHandler::removeLock().