DOM Storage and locks
Posted
by
user535759
on Stack Overflow
See other posts from Stack Overflow
or by user535759
Published on 2010-12-24T22:44:08Z
Indexed on
2010/12/24
22:54 UTC
Read the original article
Hit count: 233
Since DOM storage and its equivalencies persist in between tabs and windows, I've thought about using it for message passing. The problem is that fetch and store are different operations, and therefore not atomic. I have models that rely on UUID generation, conflict resolutions, and beaconing to do the small subset of what I need to do, but my real question is this:
Since the local storage is a shared memory resource, what are the locking mechanisms available for mutual access?
© Stack Overflow or respective owner