STREAMS-UX Programmer's Guide (February 2007)
STREAMS Utilities Supported by HP-UX
Appendix B
185
NAME
LOCK_DEALLOC () – Deallocates an acquired lock.
SYNOPSIS
#include <sys/stream.h>
void LOCK_DEALLOC(lock_t *lockptr);
PARAMETERS
lockptr
Pointer to the lock that is to be deallocated.
RETURN VALUES
None
CONSTRAINTS
LOCK_DEALLOC() can be called from thread or interrupt context. Only spinlocks with STREAMS/UX user lock
order can be held across this call.