5 ms·
Safe rust cannot guarantee the lack of race conditions, only the lack of data races.
by EE84M3i 2y ago
Safe rust cannot guarantee the lack of race conditions, only the lack of data races.
- elihu 2y agoA fair point. You could have two simultaneous code paths access the same hardware device, if such were not protected by a lock or some form of exclusive access to some associated data structure.