24 import org.web3d.x3d.sai.*;
25 import vrml.external.field.*;
38 private boolean running;
39 private boolean timerSet;
41 private static final long TIMEOUT = 100;
42 private WriterThreadObserver observer;
59 if (msg == null)
break;
60 sendEAIAsyncMessage(msg);
62 }
catch (InterruptedException e) {
73 public synchronized void send(String eaistring,
int indx)
78 EAIMessages.enqueue(msg);
84 public synchronized void stopThread()
86 System.out.println(
"stopping EAIAsyncThread");
95 float[] fvals =
new float[4];
132 System.out.println (
" EAIASyncThread: handling something funny here, " +
133 BrowserGlobals.EVtype[msg.EventNumber]);
136 me.RLreturn = msg.value;
140 BrowserGlobals.EVObserver[msg.EventNumber].readableFieldChanged (event);
142 System.out.println (
"WARNING - EAIAsyncThread.callback - thread callback null, discarding");