| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Unlock a read-write lock
#include <audio_driver.h> int ado_rwlock_unlock( pthread_rwlock_t *rwl );
This macro unlocks the given read-write lock.
The ado_rwlock_unlock() macro is defined as pthread_rwlock_unlock(), or ado_rwlock_unlock_debug() if ADO_RWLOCK_DEBUG and ADO_DEBUG are defined. The debug version uses ado_debug() to display a message to help you locate a locking problem in the driver.
For more information, see “Debugging an audio driver” in the Organization of a Driver chapter.
Same as pthread_rwlock_unlock():
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
ado_rwlock_destroy(), ado_rwlock_init(), ado_rwlock_rdlock(), ado_rwlock_wrlock()
pthread_rwlock_unlock() in the QNX Library Reference
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |