4 ms·
Technically in your example the shared state is the network.
by dnautics 6y ago
Technically in your example the shared state is the network.
- chrisseaton 6y agoNo the situation still holds if you send two requests on different network cards to entirely different networks that share nothing.
- dnautics 6y agoIn that case the shared state is the observer.
- chrisseaton 6y agoI don't think that's really a meaningful or useful definition of shared state for these purposes.
- dnautics 6y agoIt is! You should consider your brain as basically a database distant from the software, when you observe a race condition it's the same phenomenon as writing to a database (except you don't have a transactional system that gets activated by default).