state requires locks for multi threaded access
This one is wrong! State requires some mechanism to maintain consistency properties. Locks are one approach, transactions and the ACID guarantee are another.
-
-
nice catch - isolation seems to be the closest analogue to a mutex - if multiple threads interact with a resource, then a mutex is required
-
Or a higher level scheme that tracks global dependencies between individual shared state variables, like https://en.m.wikipedia.org/wiki/Software_transactional_memory …
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.