|
|
|
|
|
by int_19h
1399 days ago
|
|
It happens because a piece of code that was supposed to execute atomically ended up having an exception in the middle - so one assignment did execute, while the other one did not. If you can well and truly isolate the state that concerns a single request from any other state, then yes, it is safe. The problem is proving that such isolation holds. Memory-safe or not doesn't actually matter much here. |
|