> > > > Race conditions still happen if you (jarringly) forgot to wrap your > "shared" object inside atomic block :P. So, maybe it's a good idea to > only allow localStorage to be accessed inside an atomic block (even in > workers)? > > > Yes, that was in my original suggestion. atomic(function(shared) {...}); The callback scoped variable "shared" is the only way to access the shared namespace. Cheers, Keean.Received on Friday, 7 January 2011 17:30:19 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:15 UTC