Lock a disabled read-write lock in write-exclusive mode.
#include <sys/lock_def.h>
void drw_lock_write( lock_addr)
drw_lock_t lock_addr ;
Item | Description |
---|---|
lock_addr | Specifies the address of the lock word to lock. |
The drw_lock_write service locks the specified read-write lock in write-exclusive mode. The lock must have been previously initialized with the lock_init kernel service. The drw_lock_write service has no return values.
The drw_lock_write 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.
None