Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-18

Helper should provide a deleteRendezvous method

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.3
    • 1.0.2
    • None
    • None

    Description

      It should be possible to delete a rendezvous. The call signature should be

      boolean deleteRendezvous(Object identifier, int expected)

      The call shoudl break the association between the identifier and any associated rendezvous. It should ensure that all threads which have entered the rendezvous under a call to built-in rendezvous() wake up and return -1 from the call. The call should return true if the rendezvous was found and successfully deleted. It should return false if:

      i) there is no rendezvous identified by identifier or the rendezvous so identified has a different expected count

      ii) the rendezvous was deleted by a concurrent call to delete

      iii) the rendezvous was completed before the delete call could invalidate it

      Attachments

        Activity

          People

            rhn-engineering-adinn Andrew Dinn
            rhn-engineering-adinn Andrew Dinn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: