[Dojo-interest] DojoExternalInterface - Thread unsafe?

Robert Coup robert.coup at onetrackmind.co.nz
Sun Dec 10 13:26:02 MST 2006

Cliff Zhao wrote:
> Not true. I have noticed some time both IE and FireFox deliver events 
> when my javascript is handling other events. I have to put a safe 
> guard to some of my code. I think I posted my problem some time ago. 
> Having said that, I agree that normally javascript is single-threaded.
Alex is right, JS in all browsers is always single threaded. The order 
of execution of setTimeout's, XHR callbacks, etc is not guaranteed, but 
they won't ever be running at the same time.

Rob :)

One Track Mind Ltd.
PO Box 1604, Shortland St, Auckland, New Zealand
Phone +64-9-966 0433 Mobile +64-21-572 632
Web http://www.onetrackmind.co.nz 

More information about the Dojo-interest mailing list