projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2002/07/19 05:45:00
[org.ibex.core.git]
/
src
/
org
/
xwt
/
XMLRPC.java
diff --git
a/src/org/xwt/XMLRPC.java
b/src/org/xwt/XMLRPC.java
index
12a8361
..
7f5355b
100644
(file)
--- a/
src/org/xwt/XMLRPC.java
+++ b/
src/org/xwt/XMLRPC.java
@@
-406,17
+406,17
@@
class XMLRPC extends XML implements Function {
public Filter(InputStream is) { super(is); }
public int read() throws IOException {
Thread.yield();
public Filter(InputStream is) { super(is); }
public int read() throws IOException {
Thread.yield();
- while(MessageQueue.working) try { Thread.sleep(100); } catch (Exception e) { };
+ while(MessageQueue.nonThreadEventsInQueue > 0) try { Thread.sleep(100); } catch (Exception e) { };
return super.read();
}
public int read(byte[] b) throws IOException {
Thread.yield();
return super.read();
}
public int read(byte[] b) throws IOException {
Thread.yield();
- while(MessageQueue.working) try { Thread.sleep(100); } catch (Exception e) { };
+ while(MessageQueue.nonThreadEventsInQueue > 0) try { Thread.sleep(100); } catch (Exception e) { };
return super.read(b);
}
public int read(byte[] b, int i, int j) throws IOException {
Thread.yield();
return super.read(b);
}
public int read(byte[] b, int i, int j) throws IOException {
Thread.yield();
- while(MessageQueue.working) try { Thread.sleep(100); } catch (Exception e) { };
+ while(MessageQueue.nonThreadEventsInQueue > 0) try { Thread.sleep(100); } catch (Exception e) { };
return super.read(b, i, j);
}
}
return super.read(b, i, j);
}
}