[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/55620] New: selector.selectedKeys() list not updated afte
From: |
chabapok at gmail dot com |
Subject: |
[Bug classpath/55620] New: selector.selectedKeys() list not updated after invorkation of waked selector.select() |
Date: |
Sat, 08 Dec 2012 16:06:12 +0000 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55620
Bug #: 55620
Summary: selector.selectedKeys() list not updated after
invorkation of waked selector.select()
Classification: Unclassified
Product: classpath
Version: 0.99
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: classpath
AssignedTo: address@hidden
ReportedBy: address@hidden
java.nio.channels.Selector selector = Selector.open();
//...wait for connections..
selector.select();
Set<SelectionKey> keys = selector.selectedKeys();
//get keys.size()>0
//...handle all keys...
selector.wakeup();
int count = selector.select();
Set<SelectionKey> keys2 = selector.selectedKeys();
After this, count is 0. keys2 must be empty, but it is not empty.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/55620] New: selector.selectedKeys() list not updated after invorkation of waked selector.select(),
chabapok at gmail dot com <=