Re: Synchronous postMessage for Workers?

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