Re:Concurrent JavaScript: It can work
by om2 on Wednesday August 30, 2017 @09:09PM
(#15137400)
I think the proposal was to thread-restrict variables, not objects. (Or more precisely, any variable is either restricted to a thread or guarded by a lock.) So it wouldn't actually stop you from accessing any object you want, as long as you can reach it from something in scope. But it also might not be a very useful safety guarantee.
[ Parent
| on HN ]
Re:Concurrent JavaScript: It can work
by pizlonator on Wednesday August 30, 2017 @09:12PM
(#15137410)
Thread.restrict is about objects.
It’s interesting to also have a function like that for properties and/or variables.