Merge pull request #219 from isakcodes/patch-1

Data Race definition should be more precise
pull/239/head
Yuki Okushi 4 years ago committed by GitHub
commit 737029d362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,8 +3,8 @@
Safe Rust guarantees an absence of data races, which are defined as:
* two or more threads concurrently accessing a location of memory
* one of them is a write
* one of them is unsynchronized
* one or more of them is a write
* one or more of them is unsynchronized
A data race has Undefined Behavior, and is therefore impossible to perform
in Safe Rust. Data races are *mostly* prevented through Rust's ownership system:

Loading…
Cancel
Save