# HG changeset patch # User kono # Date 1219312000 -32400 # Node ID fca6eec8016f2083acc53ad0dc3fa315a8f1fcab # Parent 7a74d7396d656856fc7d4e933a5820504ab992b5 *** empty log message *** diff -r 7a74d7396d65 -r fca6eec8016f src/fdl/FDLindaServ.java --- a/src/fdl/FDLindaServ.java Thu Aug 21 10:04:21 2008 +0900 +++ b/src/fdl/FDLindaServ.java Thu Aug 21 18:46:40 2008 +0900 @@ -83,6 +83,11 @@ // セレクタによる監視 try { if (selector.select(timeout)>0) { +// this does not work because #it.remove() is not called. +// for(SelectionKey s:selector.selectedKeys()) { +// TupleHandler handler = (TupleHandler)s.attachment(); +// handler.handle(s); +// } for (Iterator it = selector.selectedKeys().iterator();it.hasNext(); ) { SelectionKey s = it.next(); it.remove(); diff -r 7a74d7396d65 -r fca6eec8016f src/fdl/MetaLinda.java --- a/src/fdl/MetaLinda.java Thu Aug 21 10:04:21 2008 +0900 +++ b/src/fdl/MetaLinda.java Thu Aug 21 18:46:40 2008 +0900 @@ -14,7 +14,6 @@ import java.io.IOException; import java.nio.ByteBuffer; -import java.util.LinkedList; /** MetaLinda @@ -105,7 +104,6 @@ for(r=replies;r!=null&&r.next!=null;r = r.next) { if (r.next.ready()) { // ready() may modify replies list - // bia callback r.next = r.next.next; } }