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

[whatwg] localStorage, the storage mutex, document.domain, and workers

From: Michael Nordman <michaeln@google.com>
Date: Fri, 18 Sep 2009 01:16:06 -0700
Message-ID: <fa2eab050909180116ofd0a84fu4e292252433353f5@mail.gmail.com>
>
>
> When we add more of these features, I think we will need a way to acquire
> multiple locks simultaneously before running a callback. (So if we had
> localStorage.runTransaction(function(storage) { ... }) and
> otherLockingThing.runTransaction(function(thing) { ... }), we could also
> have, for example, window.runTransaction(localStorage, otherLockingThing,
> function(storage, thing) { ... }).) So it may be worth thinking about what
> that API should be and what we will need to add to each feature spec to
> support it.
>

void acquireFlags(['foo', 'bar', baz'], callback);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090918/19f538db/attachment.htm>
Received on Friday, 18 September 2009 01:16:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC