Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4649266

Registering a SocketChannel on multiple Selectors appears to causes no events

    XMLWordPrintable

Details

    • generic
    • solaris_8

    Description

      Registering a SocketChannel on multiple Selectors (selecting in separate threads) appears to causes no events to be reported on either Selector.
       this is briefly mentioned by contributers under bug 4615008. I have attached the testcase (SelectorTest.tar.Z) to this bug report. which starts two threads and registers for OP_READ and OP_WRITE. I don't seem to see two Selector threads working properly. Only one of the therads gets OP_WRITE events and not even OP_READ.

      The testcase has different behavior on Solaris and Windows (may be because of bug id# 4645302

      Attachments

        Activity

          People

            mmcclosksunw Michael Mccloskey (Inactive)
            rramchansunw Rajesh Ramchandani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: