[whatwg] localStorage mutex - a solution?
Rob Ennals
rob.ennals at gmail.com
Mon Nov 23 15:15:22 PST 2009
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
>
More information about the whatwg
mailing list