2002/05/16 04:24:47
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:47:20 +0000 (06:47 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:47:20 +0000 (06:47 +0000)
darcs-hash:20040130064720-2ba56-cfd2daf704865d51a038b11bb6b92055ede7b4f6.gz

CHANGES
src/org/xwt/XMLRPC.java

diff --git a/CHANGES b/CHANGES
index 51f8674..72779c1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
 15-May megacz Surface.java: key presses/releases only go to visible
               children, setLimits()
 
+15-May megacz XMLRPC.java: call() is now synchronized
+
index 274b5ef..8aa3321 100644 (file)
@@ -230,7 +230,9 @@ class XMLRPC extends XML implements Function {
         }
     }
 
-    public Object call(Object[] args) throws JavaScriptException, IOException {
+    // this is synchronized in case multiple threads try to make a call on the same object... in the future, change this
+    // behavior to use pipelining.
+    public synchronized Object call(Object[] args) throws JavaScriptException, IOException {
         if (Log.verbose) Log.log(this, "call to " + url + " : " + methodname);
 
         if (tracker == null) tracker = new Hash();