The Read a Barrier routine returns the specified barrier's current quorum and the number of participants currently waiting (blocked) at the barrier. The barrier must have been created by PPL$CREATE_BARRIER. Format PPL$READ_BARRIER barrier-id ,quorum ,waiters
1 – Arguments
barrier-id OpenVMS usage identifier type longword (unsigned) access read only mechanism by reference Identifier of the specified event. The barrier-id argument is the address of an unsigned longword containing the identifier. Barrier-id is returned by PPL$CREATE_BARRIER. quorum OpenVMS usage word_signed type word (signed) access write only mechanism by reference Number of participants required to terminate a wait for this barrier. The quorum argument is the address of a signed word containing the quorum value. This argument returns the current quorum value that you set with PPL$CREATE_BARRIER, PPL$SET_ QUORUM, or PPL$ADJUST_QUORUM. waiters OpenVMS usage word_signed type word (signed) access write only mechanism by reference Number of participants currently waiting at this barrier. The waiters argument is the address of a signed word containing the number of waiting participants.