SLEEP_DEALLOC(D3)
SLEEP_DEALLOC, SLEEP_DESTROY - sleep lock de-initialization
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
NAME SLEEP_DEALLOC, SLEEP_DESTROY - sleep lock de-initialization SYNOPSIS #include <sys/ksynch.h> #include <sys/ddi.h> void SLEEP_DEALLOC(sleep_t *lockp); void SLEEP_DESTROY(sleep_t *lockp); Arguments lockp Pointer to the sleep lock to be deallocated. DESCRIPTION SLEEP_DEALLOC de-initializes and deallocates the lock specified by lockp. SLEEP_DESTROY de-initializes the lock specified by lockp. Return Values None USAGE Attempting to de-initialize or deallocate a lock that is currently locked or is being waited for 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. REFERENCES SLEEP_ALLOC(D3), SLEEP_INIT(D3), SLEEP_LOCK(D3), SLEEP_LOCK_SIG(D3), SLEEP_LOCKAVAIL(D3), SLEEP_TRYLOCK(D3), SLEEP_UNLOCK(D3)