drw_lock_free Kernel Service

Purpose

Frees resources associated with a disabled read-write lock.

Syntax

#include <sys/lock_def.h>

void  drw_lock_free( lock_addr)
drw_lock_t   lock_addr ;    

Parameters

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

Description

The drw_lock_free service frees the specified read-write lock and all internal resources that might be associated with the lock.

Execution Environment

The drw_lock_free() kernel service may be called from either the process environment or the interrupt environment.

Return Values

None