20 #ifndef __GUAC_RWLOCK_H 21 #define __GUAC_RWLOCK_H 99 int guac_rwlock_acquire_write_lock(
guac_rwlock* reentrant_rwlock);
118 int guac_rwlock_acquire_read_lock(
guac_rwlock* reentrant_rwlock);
136 int guac_rwlock_release_lock(
guac_rwlock* reentrant_rwlock);
pthread_rwlock_t lock
A non-reentrant pthread rwlock to be wrapped by the local lock, functions providing reentrant behavio...
Definition: rwlock.h:54
This file implements reentrant read-write locks using thread-local storage to keep track of how locks...
Definition: rwlock.h:48
pthread_key_t key
A key to access a thread-local property tracking any ownership of the lock by the current thread...
Definition: rwlock.h:60