SV_SIGNAL(D3)SV_SIGNAL(D3)NAMESV_SIGNAL - wake up a process sleeping on a synchronization variable
SYNOPSIS
#include <sys/ksynch.h>
#include <sys/ddi.h>
int SV_SIGNAL(sv_t *svp);
Arguments
svp Pointer to the synchronization variable to be signaled.
DESCRIPTION
If one or more processes are blocked on the synchronization variable
specified by svp, SV_SIGNAL wakes up a single blocked process. Note that
synchronization variables are stateless -- calls to SV_SIGNAL only affect
processes currently blocked on the synchronization variable.
Return Values
Returns 1 if a process was unblocked, 0 otherwise.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks and read/write locks may be held across calls
to this function.
REFERENCESSV_ALLOC(D3), SV_INIT(D3), SV_DEALLOC(D3), SV_DESTROY(D3), SV_WAIT(D3),
SV_WAIT_SIG(D3), SV_BROADCAST(D3).
Page 1