|
truck-code
|


Go to the source code of this file.
Classes | |
| struct | atomic_t |
Macros | |
| #define | atomic_read(v) ((v)->counter) |
| #define | atomic_set(v, i) (v->counter = i) |
Implement Linux udelay function with nanosleep; not sure if the driver needs this to be uninterruptible?
| #define atomic_read | ( | v | ) | ((v)->counter) |
Read atomic variable. Atomically reads the value of .
| v | pointer of type atomic_t |
| #define atomic_set | ( | v, | |
| i | |||
| ) | (v->counter = i) |
Set atomic variable.
Atomically sets the value of to .
| v | pointer of type atomic_t |
| i | required value |
1.8.13