Closed carllerche closed 4 years ago
@hawkw like what?
There's this cool library called loom
that we could maybe run the test suite through? :thinking:
@hawkw like what?
I'm not sure. If there are operations that we want to ensure always synchronize, we could make them require a token or something that ensures they are part of a synchronize closure? But, I'm not sure how much of the model we can encode in this way, so it may not be that valuable.
The thread version vector was not bumped on
UnsafeCell
access. This caused synchronizations that happened immediately before the access to prevent loom from detecting invalidUnsafeCell
access.