DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

SV_BROADCAST(D3)


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);

Description

If one or more processes are blocked on the synchronization variable specified by svp, SV_BROADCAST wakes up all of the blocked processes.

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.

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.

Context and synchronization

Non-blockable, interrupt, user, or blockable context.

Hardware applicability

All

Version applicability

ddi: 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

SV_ALLOC(D3), SV_DEALLOC(D3), SV_SIGNAL(D3), SV_WAIT(D3), SV_WAIT_SIG(D3)

``Synchronization variables'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005