VMS Help  —  RTL Routines, PPL$  PPL$ADJUST_SEMAPHORE_MAXIMUM
    The Adjust a Semaphore Maximum routine increments or decrements
    the maximum associated with a semaphore.

    Format

      PPL$ADJUST_SEMAPHORE_MAXIMUM  semaphore-id ,amount

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.

 amount

    OpenVMS usage word_signed
    type          word (signed)
    access        read only
    mechanism     by reference
    Value to add to the semaphore maximum. The amount argument is
    the address of a signed word containing the amount. Specify a
    positive value for amount to increase the maximum; specify a
    negative value to decrease the maximum.
Close Help