Closed SimonSapin closed 5 months ago
Thread-safe meaning implementing the Send and Sync traits. They already are, but with this PR we won’t regress accidentally.
Send
Sync
The consenquence is that we should keep using Arc over Rc, Mutex or RwLock over Cell or RefCell, etc.
Arc
Rc
Mutex
RwLock
Cell
RefCell
Thread-safe meaning implementing the
Send
andSync
traits. They already are, but with this PR we won’t regress accidentally.The consenquence is that we should keep using
Arc
overRc
,Mutex
orRwLock
overCell
orRefCell
, etc.