1 #ifndef COIN_SBRWMUTEX_H 2 #define COIN_SBRWMUTEX_H 47 (policy == WRITE_PRECEDENCE)? CC_WRITE_PRECEDENCE : CC_READ_PRECEDENCE);
54 SbBool tryWriteLock(
void) {
57 int writeUnlock(
void) {
64 int tryReadLock(
void) {
67 int readUnlock(
void) {
75 #endif // !COIN_SBRWMUTEX_H int cc_rwmutex_read_unlock(cc_rwmutex *rwmutex)
Definition: rwmutex.cpp:293
int cc_rwmutex_write_try_lock(cc_rwmutex *rwmutex)
Definition: rwmutex.cpp:206
int cc_rwmutex_read_lock(cc_rwmutex *rwmutex)
Definition: rwmutex.cpp:248
int cc_rwmutex_write_lock(cc_rwmutex *rwmutex)
Definition: rwmutex.cpp:178
int cc_rwmutex_write_unlock(cc_rwmutex *rwmutex)
Definition: rwmutex.cpp:224
int cc_rwmutex_read_try_lock(cc_rwmutex *rwmutex)
Definition: rwmutex.cpp:275
struct cc_rwmutex cc_rwmutex
The type definition for the read-write mutex structure.
Definition: common.h:59
void cc_rwmutex_destruct(cc_rwmutex *rwmutex)
Definition: rwmutex.cpp:157
cc_rwmutex * cc_rwmutex_construct_etc(cc_precedence policy)
Definition: rwmutex.cpp:142
Definition: SbRWMutex.h:38