W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: Sync API for workers

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 2 Sep 2012 21:29:16 +0000 (UTC)
To: Andrew Wilson <atwilson@google.com>
cc: "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1209022128160.614@ps20323.dreamhostps.com>
On Sun, 2 Sep 2012, Andrew Wilson wrote:
> 
> Just wanted to point out that all of the arguments for a wait-for-reply API
> in workers also apply to SharedWorkers. It's trickier for SharedWorkers
> since they use MessagePorts

Dedicated Workers use MessagePorts too, they're just embedded in the 
WorkerGlobalScope and the API exposed through that interface, so that you 
can't send the port's endpoint around. But it's literally defined in terms 
of a MessagePort.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 2 September 2012 21:29:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:54 GMT