VMS Help  —  RTL Routines, PPL$  PPL$SET_SEMAPHORE_MAXIMUM
    The Set a Semaphore Maximum routine dynamically sets the maximum
    value of a semaphore.

    Format

      PPL$SET_SEMAPHORE_MAXIMUM  semaphore-id ,semaphore-maximum

1  –  Arguments

 semaphore-id

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

 semaphore-maximum

    OpenVMS usage word_signed
    type          word (signed)
    access        read only
    mechanism     by reference
    New maximum value of the semaphore. The semaphore-maximum
    argument is the address of a signed word containing the maximum
    value. This value must be nonnegative.
Close Help