drw_lock_done Kernel Service

Purpose

Unlock a disabled read-write lock.

Syntax

#include <sys/lock_def.h>

void  drw_lock_done( lock_addr)
drw_lock_t   lock_addr ;    

Parameters

Item Description
lock_addr Specifies the address of the lock word to unlock.

Description

The drw_lock_done service unlocks the specified read-write lock. The calling thread or interrupt handler must own the lock either in read shared or write exclusive mode. The drw_lock_done service has no return values.

Execution Environment

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

Done