Coin3D is Free Software, published under the BSD 3-clause license. |
https://bitbucket.org/Coin3D/ http://www.kongsberg.com/kogt/ |
Go to the source code of this file.
Functions | |
cc_rwmutex * | cc_rwmutex_construct (void) |
cc_rwmutex * | cc_rwmutex_construct_etc (cc_precedence policy) |
void | cc_rwmutex_destruct (cc_rwmutex *rwmutex) |
int | cc_rwmutex_write_lock (cc_rwmutex *rwmutex) |
int | cc_rwmutex_write_try_lock (cc_rwmutex *rwmutex) |
int | cc_rwmutex_write_unlock (cc_rwmutex *rwmutex) |
int | cc_rwmutex_read_lock (cc_rwmutex *rwmutex) |
int | cc_rwmutex_read_try_lock (cc_rwmutex *rwmutex) |
int | cc_rwmutex_read_unlock (cc_rwmutex *rwmutex) |
cc_rwmutex* cc_rwmutex_construct | ( | void | ) |
Construct a read-write mutex, with read precedence.
cc_rwmutex* cc_rwmutex_construct_etc | ( | enum cc_precedence | policy | ) |
Construct a read-write mutex, with read precedence or write precedence.
void cc_rwmutex_destruct | ( | cc_rwmutex * | rwmutex | ) |
Destruct a read-write mutex.
int cc_rwmutex_write_lock | ( | cc_rwmutex * | rwmutex | ) |
Locks the specified rwmutex for writing.
int cc_rwmutex_write_try_lock | ( | cc_rwmutex * | rwmutex | ) |
Check whether the given rwmutex* is available for write locking.
int cc_rwmutex_write_unlock | ( | cc_rwmutex * | rwmutex | ) |
Unlock the write lock on the given rwmutex.
int cc_rwmutex_read_lock | ( | cc_rwmutex * | rwmutex | ) |
Locks the specified rwmutex for reading.
int cc_rwmutex_read_try_lock | ( | cc_rwmutex * | rwmutex | ) |
Check whether the given rwmutex* is available for read locking.
int cc_rwmutex_read_unlock | ( | cc_rwmutex * | rwmutex | ) |
Unlock the read lock on the given rwmutex.