[Laszlo-dev] [Platform-team] Single-threaded != no race conditions

P T Withington ptw at openlaszlo.org
Thu Aug 31 14:22:43 PDT 2006


Given the speculations elsewhere in this thread, perhaps you need to  
enhance your test slightly.  Jim's comment about re-entering the  
event loop while waiting for an (onsensibly) synchnonous call to  
return seems like it matches the situation we were seeing in the  
profiler.

In particular, I wonder if you use setTimer and synchronous XHR, can  
the timer event run while the XHR is waiting for a reply?

On 2006-08-30, at 15:45 EDT, Henry Minsky wrote:

> Well, the test below does not show the main loop being interrupted  
> by the timer process; it shows the
> reverse actually, the timer process does not seem to run while the  
> main loop is executing.

[...]



More information about the Laszlo-dev mailing list