W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Synchronous postMessage for Workers?

From: Glenn Maynard <glenn@zewt.org>
Date: Thu, 17 Nov 2011 14:37:32 -0500
Message-ID: <CABirCh-4mn7UZLPSLNHeUoWQ9Hjzk6=wcdUFNdwWErVMdp1=Mg@mail.gmail.com>
To: Rick Waldron <waldron.rick@gmail.com>
Cc: Joshua Bell <jsbell@chromium.org>, public-webapps@w3.org
On Thu, Nov 17, 2011 at 2:16 PM, Rick Waldron <waldron.rick@gmail.com>wrote:

> This is counter to the whole premise of Workers, which should be
> independent of their renderer process and certainly not block themselves
> while waiting for responses from the renderer (which inherently describes
> an async behaviour).

That's backwards.  The premise is that the renderer (UI) will not be
blocked by workers, not that workers won't be blocked by the renderer.

> Sync apis are sore thumb in GlobalWorkerScope's world.

I don't know what that means.  Synchronous APIs are one of the major
reasons to have Workers in the first place.

Glenn Maynard
Received on Thursday, 17 November 2011 19:38:01 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC