Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-275

HP-UX has buggy wakeup semantics on selectors when channel is closed

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.4.1.Final, 3.5.0.Beta1
    • 3.4.0.Final
    • nio-impl
    • None

    Description

      If a channel is closed just before a selector selects on it, it can cause indefinite hangs since there is no channel-closed signal (POLLHUP or similar) generated. The workaround is to only sleep for a maximum of 1 second when running on HP-UX; the caller of the corresponding await method already must retry in the event of a spurious wakeup.

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: