drw_lock_read Kernel Service

Purpose

Lock a disabled read-write lock in read-shared mode.

Syntax

#include <sys/lock_def.h>

void  drw_lock_read( 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_read service locks the specified read-write lock in read shared mode. The lock must have been previously initialized with the lock_init kernel service. The drw_lock_read service has no return values.

Execution Environment

The drw_lock_read 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