|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Reader/writer semaphore structure. More...
#include <kos/rwsem.h>
Data Fields | |
| int | read_count |
| The number of readers that are currently holding the lock. | |
| mutex_t | write_lock |
| mutex_t | read_lock |
Reader/writer semaphore structure.
All members of this structure should be considered to be private, it is not safe to change anything in here yourself.
| int rw_semaphore_t::read_count |
The number of readers that are currently holding the lock.
| mutex_t rw_semaphore_t::read_lock |
| mutex_t rw_semaphore_t::write_lock |