Details
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
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