VMS Help  —  RTL Routines, PPL$  PPL$SET_QUORUM
    The Set Barrier Quorum routine dynamically sets a value for the
    specified barrier's quorum.

    Format

      PPL$SET_QUORUM  barrier-id ,quorum

1  –  Arguments

 barrier-id

    OpenVMS usage identifier
    type          longword (unsigned)
    access        read only
    mechanism     by reference
    Identifier of the barrier. The barrier-id argument is the address
    of the barrier identifier.

    Barrier-id is returned by PPL$CREATE_BARRIER.

 quorum

    OpenVMS usage word_signed
    type          word (signed)
    access        read only
    mechanism     by reference
    The number of participants required to terminate an active
    wait for this barrier. The quorum argument is the address of a
    signed word containing the quorum number. For example, a quorum
    value of 3 indicates that the first two callers of PPL$WAIT_
    AT_BARRIER specifying this barrier-id are blocked until a third
    participant calls PPL$WAIT_AT_BARRIER. At that point, all three
    are released for further processing. If you specify zero for
    quorum, the quorum is set to the number of processes currently in
    the application. The value of quorum must be positive or zero.
Close Help