comparison src/fdl/MetaLinda.java @ 30:fca6eec8016f

*** empty log message ***
author kono
date Thu, 21 Aug 2008 18:46:40 +0900
parents 132c9bc28d6b
children 846c6c14cf04
comparison
equal deleted inserted replaced
29:7a74d7396d65 30:fca6eec8016f
12 12
13 package fdl; 13 package fdl;
14 14
15 import java.io.IOException; 15 import java.io.IOException;
16 import java.nio.ByteBuffer; 16 import java.nio.ByteBuffer;
17 import java.util.LinkedList;
18 17
19 /** 18 /**
20 MetaLinda 19 MetaLinda
21 * 20 *
22 * @author Shinji Kono 21 * @author Shinji Kono
103 fds.checkTuple(timeout); 102 fds.checkTuple(timeout);
104 PSXReply r; 103 PSXReply r;
105 for(r=replies;r!=null&&r.next!=null;r = r.next) { 104 for(r=replies;r!=null&&r.next!=null;r = r.next) {
106 if (r.next.ready()) { 105 if (r.next.ready()) {
107 // ready() may modify replies list 106 // ready() may modify replies list
108 // bia callback
109 r.next = r.next.next; 107 r.next = r.next.next;
110 } 108 }
111 } 109 }
112 last = (MetaReply)r; 110 last = (MetaReply)r;
113 if (fdl!=null) { 111 if (fdl!=null) {