• Leigh B. Stoller's avatar
    Changes to allow waiting for a specific completion event, which is needed · 5c564bc8
    Leigh B. Stoller authored
    to make stoprun waiting work correctly.
    When tevc is invoked with the -w (wait for completion) option, tevc
    generates a token to put into the notification. The event scheduler will
    not generate a new token if there is already on in the notification, but
    instead pass it on.
    For the specific case of stoprun, the simulator agent has to pass that
    token along to boss and template_exprun, which generates the completion
    event (for reasons discussed in prior commit message).