DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

RW_DEALLOC(D3)


RW_DEALLOC -- deallocate an instance of a read/write lock

Synopsis

   #include <sys/types.h>
   #include <sys/ksynch.h>
   #include <sys/ddi.h>
   

void RW_DEALLOC(rwlock_t *lockp);

Description

RW_DEALLOC deallocates the read/write lock specified by lockp.

Arguments


lockp
Pointer to the read/write lock to be deallocated.

Return values

None

Usage

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

Context and synchronization

Non-blockable, interrupt, user, or blockable context.

Hardware applicability

All

Version applicability

ddi: 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

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

``Spin locks (DDI)'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005