drw_lock_init Kernel Service
Purpose
Initialize a disabled read-write lock.
Syntax
#include <sys/lock_def.h>
void drw_lock_init( 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 initialize. |
Description
The drw_lock_init service initializes the specified read-write lock. The drw_lock_init service has no return values.
Execution Environment
The drw_lock_init() kernel service must be called from the process environment only.
Return Values
None