drw_lock_write Kernel Service
Purpose
Lock a disabled read-write lock in write-exclusive mode.
Syntax
#include <sys/lock_def.h>
void drw_lock_write( lock_addr)
drw_lock_t lock_addr ;
drw_lock_t lock_addr ;
Parameters
Item | Description |
---|---|
lock_addr | Specifies the address of the lock word to lock. |
Description
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.
Execution Environment
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.
Return Values
None