SV_BROADCAST(D3) SV_BROADCAST(D3)
NAME
SV_BROADCAST - wake up all processes sleeping on a
synchronization variable
SYNOPSIS
#include <sys/ksynch.h>
#include <sys/ddi.h>
void SV_BROADCAST(sv_t *svp, int flags);
Arguments
svp Pointer to the synchronization variable to be
broadcast signaled.
flags Bit field for flags. No flags are currently defined
for use in drivers and the flags argument must be
set to zero.
DESCRIPTION
If one or more processes are blocked on the synchronization
variable specified by svp, SV_BROADCAST wakes up all of the
blocked processes.
Return Values
None
USAGE
Note that synchronization variables are stateless, and
therefore calls to SV_BROADCAST only affect processes
currently blocked on the synchronization variable and have no
effect on processes that block on the synchronization variable
at a later time.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
SV_ALLOC(D3), SV_DEALLOC(D3), SV_SIGNAL(D3), SV_WAIT(D3),
SV_WAIT_SIG(D3)
Copyright 1994 Novell, Inc. Page 1
SV_BROADCAST(D3) SV_BROADCAST(D3)
NOTICES
Portability
All processors
Applicability
ddi: 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2