W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Transaction callback for localStorage mutex?

From: Adam Barth <w3c@adambarth.com>
Date: Tue, 1 Dec 2009 18:18:57 -0800
Message-ID: <7789133a0912011818t63796d78p256b3b87cedd0732@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>
I haven't been following the localStorage mutex discussion in detail,
but have we already rejected the idea of having content specifically
ask for the mutex via a transaction callback, similar to how web
databases work?

localStorgage.atomicTransaction(function() {
  localStorage["counter"]++;
});

Adam
Received on Wednesday, 2 December 2009 02:20:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:35 GMT