akka.net
akka.net copied to clipboard
[CS0420][Fix] `Mailbox`
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):
- [x] This change follows the Akka.NET API Compatibility Guidelines.
- [x] This change follows the Akka.NET Wire Compatibility Guidelines.
We should probably remove the Volatile.Read call - since the field is already volatile. @Aaronontheweb
We should probably remove the Volatile.Read call - since the field is already volatile. @Aaronontheweb
Complicated issue from a semantics point of view, but I wonder if we should do this the other way around in order to guarantee atomicity https://github.com/dotnet/runtime/issues/67330#issuecomment-1083106423