|
libnx
|
Read/write lock synchronization primitive. More...
#include "../kernel/mutex.h"Go to the source code of this file.
Data Structures | |
| struct | RwLock |
| Read/write lock structure. More... | |
Functions | |
| void | rwlockReadLock (RwLock *r) |
| Locks the read/write lock for reading. More... | |
| void | rwlockReadUnlock (RwLock *r) |
| Unlocks the read/write lock for reading. More... | |
| void | rwlockWriteLock (RwLock *r) |
| Locks the read/write lock for writing. More... | |
| void | rwlockWriteUnlock (RwLock *r) |
| Unlocks the read/write lock for writing. More... | |
Read/write lock synchronization primitive.
| void rwlockReadLock | ( | RwLock * | r | ) |
Locks the read/write lock for reading.
| r | Read/write lock object. |
| void rwlockReadUnlock | ( | RwLock * | r | ) |
Unlocks the read/write lock for reading.
| r | Read/write lock object. |
| void rwlockWriteLock | ( | RwLock * | r | ) |
Locks the read/write lock for writing.
| r | Read/write lock object. |
| void rwlockWriteUnlock | ( | RwLock * | r | ) |
Unlocks the read/write lock for writing.
| r | Read/write lock object. |
1.8.11