[whatwg] localStorage, the storage mutex, document.domain, and workers
Michael Nordman
michaeln at google.com
Fri Sep 18 01:16:06 PDT 2009
>
>
> 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>
More information about the whatwg
mailing list