W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [chromium-html5] LocalStorage inside Worker

From: Glenn Maynard <glenn@zewt.org>
Date: Sat, 8 Jan 2011 05:00:46 -0500
Message-ID: <AANLkTimf99uqgjWN6mnbiewhbLjjAts-XdyoiusaiCqh@mail.gmail.com>
To: Keean Schupke <keean@fry-it.com>
Cc: Charles Pritchard <chuck@jumis.com>, Jonas Sicking <jonas@sicking.cc>, public-webapps WG <public-webapps@w3.org>
On Sat, Jan 8, 2011 at 4:06 AM, Keean Schupke <keean@fry-it.com> wrote:
> If access had to be from inside an "atomic" block (a callback from a single
> storage-thread) then this would fix access from multiple tabs/windows as
> well as from worker threads.

Your suggestion and Jonas's are very similar.  I think the difference
is that you're suggesting an API that would permit non-serialized
access to the objects, by using transactional methods, where Jonas's
completely serializes access.  Jonas's is much simpler; I don't think
the complexity of this type of transactional access is needed, or
appropriate for simple Storage objects.

-- 
Glenn Maynard
Received on Saturday, 8 January 2011 10:01:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:15 UTC