Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RW_DEALLOC(D3DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RW_DEALLOC(D3DK)  —  

NAME

RW_DEALLOC − deallocate an instance of a read/write lock .IX \f4RW_DEALLOC\fP(D3DK)

SYNOPSIS

#include <sys/types.h>
#include <sys/ksynch.h>
void RW_DEALLOC(rwlock_t ∗lockp);

ARGUMENTS

lockpPointer to the read/write lock to be deallocated. 

DESCRIPTION

RW_DEALLOC deallocates the read/write lock specified by lockp. 

RETURN VALUE

None. 

LEVEL

Base or Interrupt. 

NOTES

Does not sleep. 

Attempting to deallocate a lock that is currently locked or is being waited for is an error and will result in undefined behavior. 

Driver defined locks, read/write locks (other than the one being deallocated), and sleep locks may be held across calls to this function. 

SEE ALSO

RW_ALLOC(D3DK), RW_RDLOCK(D3DK), RW_TRYRDLOCK(D3DK), RW_TRYWRLOCK(D3DK), RW_UNLOCK(D3DK), RW_WRLOCK(D3DK)

DDI/DKI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026