W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] localStorage + worker processes

From: Oliver Hunt <oliver@apple.com>
Date: Fri, 20 Mar 2009 14:19:23 -0700
Message-ID: <79CF596B-ADA2-4E10-A360-A44BDB343C3C@apple.com>
> When discussing this standard we have to recognize that not all
> browsers actually have a "main thread". Time will tell if more or less
> browsers of the future will have multi-threaded architectures, but the
> trend has been for more I think.
> Any aspects of the spec that asserts or assumes a "main thread" is  
> questionable.

Yes they do -- we're talking about the main thread from the point of  
view of javascript, which is not necessarily the UI thread.

The important thing is that with the current model is that JS on any  
thread may be blocked by js executing in a worker, which leads to a  
page (in effect) locking up -- the UI may still be functional but that  
particular page will have hung.

Received on Friday, 20 March 2009 14:19:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:10 UTC