SV_DEALLOC(D3)SV_DEALLOC(D3)NAME
SV_DEALLOC, SV_DESTROY - synchronization variable de-initialization
SYNOPSIS
#include <sys/ksynch.h>
#include <sys/ddi.h>
void SV_DEALLOC(sv_t *svp);
void SV_DESTROY(sv_t *svp);
Arguments
svp Pointer to the synchronization variable to be deallocated.
DESCRIPTIONSV_DEALLOC de-initializes and deallocates the synchronization variable
specified by svp. SV_DESTROY de-initializes the sync variable specified
by svp.
Return Values
None
USAGE
Attempting to de-initialize or deallocate a sync variable on which
callers are currently waiting is an error and results in undefined
behavior.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks (other than
the one being deallocated), may be held across calls to this function.
REFERENCESSV_ALLOC(D3), SV_INIT(D3), SV_WAIT(D3), SV_WAIT_SIG(D3), SV_SIGNAL(D3),
SV_BROADCAST(D3).
Page 1