Unlock a disabled read-write lock.
#include <sys/lock_def.h>
void drw_lock_done( lock_addr)
drw_lock_t lock_addr ;
Item | Description |
---|---|
lock_addr | Specifies the address of the lock word to unlock. |
The drw_lock_done service unlocks the specified read-write lock. The calling thread or interrupt handler must own the lock either in read shared or write exclusive mode. The drw_lock_done service has no return values.
The drw_lock_done kernel service may be called from either the process environment or the interrupt environment. However, if called from the process environment, interrupts must be disabled to some interrupt priority other than INTBASE.
Done