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

[Bug 8358] New: Fix for the localStorage mutex problem - release for *any* API operation except localStorage itself

From: <bugzilla@wiggum.w3.org>
Date: Mon, 23 Nov 2009 23:09:49 +0000
To: public-webapps@w3.org
Message-ID: <bug-8358-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8358

           Summary: Fix for the localStorage mutex problem - release for
                    *any* API operation except localStorage itself
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Storage
        AssignedTo: ian@hixie.ch
        ReportedBy: robert.ennals@intel.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


This is a proposal I made earlier on the whatwg mailing list, and then
presented at TPAC. I believe I said I would file a proper bug report for it.


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.


-Rob


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 23 November 2009 23:09:58 GMT

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