
Defines | |
| #define | LOCK_PREFIX "" |
| #define | __xg(x) ((volatile long *)(x)) |
| #define | cmpxchg(ptr, o, n) |
| #define cmpxchg | ( | ptr, | |||
| o, | |||||
| n | ) |
((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o),\ (unsigned long)(n),sizeof(*(ptr))))
Referenced by ReferenceCount::decref(), ReferenceCount::incref(), return_death_pids(), take_death_pids(), and Lock::try_lock().
| #define LOCK_PREFIX "" |
Taken from the standard glibc headers: asm-x86_64/system.h Including the standard asm headers never seemed to work properly.
1.6.2