Definition in file lock.h.
Go to the source code of this file.
Defines | |
| #define | LOCK(flags) ((*(callback->lock_count))++, (*(callback->lock_spin))+=lock(flags)) |
| Locks an item. | |
| #define | LOCK_OBJECT(obj) ((*(callback->lock_count))++, (*(callback->lock_spin))+=lock(&((obj)->flags))) |
| Locks an object. | |
| #define | UNLOCK(flags) unlock(flags) |
| Unlocks an item. | |
| #define | UNLOCK_OBJECT(obj) unlock(&((obj)->flags)) |
| Unlocks an object. | |