You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
races.md: data race -> race condition to violate memory safety
The first example shows that you "can't violate memory safety with safe
Rust" and the second example shows that you "can violate memory safety
with unsafe Rust".
The second example does not demonstrate a data race since there is only
one thread touching `data`.
0 commit comments