Fwd: "delay" keyword

Jussi Kalliokoski jussi.kalliokoski at gmail.com
Thu Jul 5 11:30:59 PDT 2012


On Thu, Jul 5, 2012 at 9:20 PM, Brendan Eich <brendan at mozilla.org> wrote:

> You do realize this works in Firefox via a *nested* event loop. Not a
> coroutine or green thread under the hood, by which other events flow in the
> outer loop?
>

You mean that all of these blocking calls would accidentally let the event
loop continue when they occur, and add continuing the stack to the event
loop? Seems like an odd coincidence. What have I done, really sorry not to
report this earlier... -.-


> That makes it a bug, and I am willing to bet real money no other engine
> will adopt it as a feature.
>

If it really is a bug, I have a pretty good guess of how it came to exist,
and think this bug is a relevant one:
https://bugzilla.mozilla.org/show_bug.cgi?id=59314 .

Cheers,
Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120705/6b9e0584/attachment.html>


More information about the es-discuss mailing list