2009/6/3 Ned <
nedko....@gmail.com>:
>
> Thank you Sébastien for your reply,
> I would guess how to implement the event thread but how do I interrupt
> the execution of the script thread so I could force the execution of a
> particular script code. That's what I don't know. Could you or someone
> else please provide some details about it?
The way it works in a browser is there is only one thread. The
scripts are never interrupted, but are expected to return to the event
loop after a reasonably short time, possibly scheduling another
callback first.
--
Erik Corry, Software Engineer
Google Denmark ApS. CVR nr. 28 86 69 84
c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018
Copenhagen K, Denmark.