SV_BROADCAST(D3)

SV_BROADCAST - wake up all processes sleeping on a synchronization variable

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     SV_BROADCAST - wake up all processes sleeping on a synchronization
     variable

SYNOPSIS
     #include <sys/ksynch.h>
     #include <sys/ddi.h>
     int SV_BROADCAST(sv_t *svp);

   Arguments
     svp       Pointer to the synchronization variable to be broadcast
               signaled.

DESCRIPTION
     If one or more processes are blocked on the synchronization variable
     specified by svp, SV_BROADCAST wakes up all of the blocked processes.
     Note that synchronization variables are stateless -- calls to
     SV_BROADCAST only affect processes currently blocked on the
     synchronization variable.

   Return Values
     Returns the number of processes that were unblocked by the call to
     SV_BROADCAST.

   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.

REFERENCES
     SV_ALLOC(D3), SV_INIT(D3), SV_DEALLOC(D3), SV_DESTROY(D3), SV_WAIT(D3),
     SV_WAIT_SIG(D3), SV_SIGNAL(D3).