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

[whatwg] localStorage mutex - a solution?

From: Rob Ennals <rob.ennals@gmail.com>
Date: Mon, 23 Nov 2009 15:15:22 -0800
Message-ID: <f3fb55dd0911231515m1c75d9b5v86b4057e6c9adf08@mail.gmail.com>
Since discussion on this topic seems to have calmed down and AFAICT no
fundamental problems were identified, I've now submitted a bugzilla
report suggesting that this change be made to the spec.

-Rob

On Wed, Nov 4, 2009 at 2:13 PM, Rob Ennals <rob.ennals at gmail.com> wrote:
> [this is Rob Ennals from Intel, posting from gmail over my phone while at
> tpac]
>
> How about this for a solution for the localStorage mutex problem:
>
> "the user agent MAY release the storage mutex on *any* API operation except
> localStorage itself"
>
> This guarantees that the common case of "several storage operations in a row
> with nothing in-between" works, but gives the implementors the freedom to
> release the storage mutex wherever else they find they need to.
>
> I ran this by a few people at the W3C tpac (where I am now) and everyone I
> talked to seemed to think this would work.
>
> Let the objections commence.....
>
> -Rob
>
Received on Monday, 23 November 2009 15:15:22 UTC

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