akka.net icon indicating copy to clipboard operation
akka.net copied to clipboard

[CS0420][Fix] `Mailbox`

Open eaba opened this issue 2 years ago • 2 comments

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

eaba avatar Apr 26 '23 11:04 eaba

We should probably remove the Volatile.Read call - since the field is already volatile. @Aaronontheweb

eaba avatar Apr 26 '23 11:04 eaba

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

Aaronontheweb avatar May 16 '23 16:05 Aaronontheweb