Initialize a disabled read-write lock.
#include <sys/lock_def.h>
void drw_lock_init( lock_addr)
drw_lock_t lock_addr ;
Item | Description |
---|---|
lock_addr | Specifies the address of the lock word to initialize. |
The drw_lock_init service initializes the specified read-write lock. The drw_lock_init service has no return values.
The drw_lock_init() kernel service must be called from the process environment only.
None