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

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

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: