VMS Help  —  RTL Routines, PPL$  PPL$READ_EVENT
    The Read an Event State routine returns the current state of the
    specified event. The state can be occurred or not_occurred.

    Format

      PPL$READ_EVENT  event-id ,occurred

1  –  Arguments

 event-id

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

    Event-id is returned by PPL$CREATE_EVENT.

 occurred

    OpenVMS usage longword_unsigned
    type          longword (unsigned)
    access        write only
    mechanism     by reference
    Receives the state of the specified event. The occurred argument
    is the address of an unsigned longword that receives the event
    state. This argument returns a value of true if the current state
    of the event is occurred, and returns false if the current state
    of the event is not_occurred.
Close Help