Re: JavaScript not being blocked/synched by Applet init()



Hi Thomas,

"Thomas 'PointedEars' Lahn" <PointedEars@xxxxxx> wrote in message
news:4A0943B6.2060809@xxxxxxxxxxxxxxxxx
Mark Space wrote:
Richard Maher wrote:
https://jdk6.dev.java.net/plugin2/liveconnect/

While direct from Sun, I'm pretty sure it's incorrect:

You're wrong.

[...]
JavaScript IS NOT single threaded.

Yes, so far it is.

It can receive events from outside sources (hello XMLHttpRequest)

Hello? That's a AOM/DOM API, not core language (despite what Microsoft
babbles about it recently.)

and will spawn additional threads of execution.

It won't. The UA will spawn additional instances of the script engine.

Someone along the line stopped posting to both cjlp and cl.javascript.
Anyway there's a bit more and an example over there if anyone's interested.
Java 6 certainly "has issues" in this respect.



PointedEars

Cheers Richard Maher


.



Relevant Pages


Loading