STREAMS-UX Programmer's Guide (February 2007)

STREAMS Utilities Supported by HP-UX
Appendix B
225
NAME
SV_DEALLOC () – Deallocate an instance of a synchronization variable.
SYNOPSIS
#include <sys/stream.h>
void SV_DEALLOC(sv_t *svp);
PARAMETERS
svp
Pointer to the synchronization variable to be deallocated.
DESCRIPTION
SV_DEALLOC deallocates the synchronization variable specified by
svp
.
RETURN VALUES
None
CONSTRAINTS
SV_DEALLOC() does not sleep and so can be called from thread and the interrupt context. Only spinlocks of
STREAMS/UX user lock order can be held across this call.