Eric Huss
|
8ca2612680
|
Merge pull request #388 from Niki4tap/ffi-dont-use-transmute
Discourage the use of transmute to construct invalid values
|
2 years ago |
Niki4tap
|
734ca5e3f7
|
Don't try to work with invalid values on non-null types, always do what nomicon says
|
2 years ago |
Marijn Schouten
|
dd37e21cce
|
Update lifetime-mismatch.md (#387)
Fix sentence grammar
|
2 years ago |
nils
|
ae406aa528
|
Improve chapter about `Vec<T>` (#381)
Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
|
2 years ago |
Eric Huss
|
03fbddb1f0
|
Merge pull request #386 from jamesreprise/patch-1
Grammar change for 3.4: Limits of Lifetimes (lifetime-mismatch.md)
|
2 years ago |
James Williams
|
6570607bcc
|
Grammar change for lifetime-mismatch.md
"[...] stops to be needed [...]" -> "[...] ceases to be needed [...]"
|
2 years ago |
Redglyph
|
05532356e7
|
Fix typos and grammatical errors (#384)
Co-authored-by: redglyph <redglyph@localhost>
|
2 years ago |
SabrinaJewson
|
ff32f70202
|
Fix CI
|
2 years ago |
SabrinaJewson
|
09c428ee7b
|
Remove the signals section for now
|
2 years ago |
Alex Saveau
|
9c73283775
|
Fix typo (#380)
|
2 years ago |
Eric Huss
|
f53bfa0569
|
Merge pull request #379 from sebastianv89/patch-1
Small typo
|
2 years ago |
Sebastian
|
276874169c
|
Small typo
|
2 years ago |
SabrinaJewson
|
d9dabf4653
|
Note that a release fence followed by multiple stores is not necessarily faster than many release stores
|
2 years ago |
SabrinaJewson
|
2384caab54
|
Define “unsequenced” early on
And be consistent with “sequenced before” versus “sequenced-before” to
always use the hyphen.
|
2 years ago |
SabrinaJewson
|
c19184a94a
|
Fix Unicode art incorrectly interpreted as Rust code
|
2 years ago |
SabrinaJewson
|
805070e0f6
|
Write about `SeqCst` fences
|
2 years ago |
SabrinaJewson
|
5e27ed5c03
|
Improve the `SeqCst` explanation
|
2 years ago |
SabrinaJewson
|
d4f8f47439
|
Write about acquire and release fences
|
2 years ago |
SabrinaJewson
|
3c76e35449
|
Add a more formal explanation of happens-before
|
2 years ago |
SabrinaJewson
|
8068390a90
|
Show the final correct execution in mutex example
|
2 years ago |
SabrinaJewson
|
a9eb1f69ba
|
Improve the explanations of coherence
|
2 years ago |
SabrinaJewson
|
b3c2e626a3
|
Explain the Abstract Machine
|
2 years ago |
SabrinaJewson
|
dc6a942194
|
Explain the C++20 release sequence changes
|
2 years ago |
SabrinaJewson
|
493c671b69
|
Dispel the myth that RMWs “see the latest value”
|
2 years ago |
SabrinaJewson
|
390754b28b
|
Explain the ABA problem
|
2 years ago |
SabrinaJewson
|
40b06fef66
|
Add note about duplication of `1` in M.O.
|
2 years ago |
SabrinaJewson
|
52d5d13a3d
|
Define the term “race condition”
|
2 years ago |
SabrinaJewson
|
29707ee398
|
“isomorphic” → “functionally equivalent”
|
2 years ago |
SabrinaJewson
|
6dc3d549b1
|
Remove old sections and introduce “AM” in intro
|
2 years ago |
SabrinaJewson
|
59fde6f6bb
|
Use “coherence” terminology from the start
|
2 years ago |
SabrinaJewson
|
b89639939f
|
Introduce synchronizes-with terminology
|
2 years ago |
SabrinaJewson
|
c1129e31c8
|
“happens before” → “happens-before”
|
2 years ago |
SabrinaJewson
|
afe0ee2bf0
|
Write the `SeqCst` section
|
2 years ago |
Eric Huss
|
d880e6ac2a
|
Merge pull request #372 from zhenya-1007/patch-1
Update lifetimes.md
|
2 years ago |
Eric Huss
|
8e6aa34485
|
Merge pull request #376 from JohnTitor/update-repr-transparent
Update the `repr(transparent)` section to reflect the current state
|
2 years ago |
Yuki Okushi
|
7df62756a1
|
Apply a suggestion
Co-authored-by: Eric Huss <eric@huss.org>
|
2 years ago |
SabrinaJewson
|
715e67ffbe
|
Write about `Acquire` and `Release`
|
2 years ago |
SabrinaJewson
|
d01fb667fd
|
Remove specification chapter
This is not allowed for copyright reasons.
|
2 years ago |
SabrinaJewson
|
a26eab47d2
|
Write the “Relaxed” section
|
2 years ago |
SabrinaJewson
|
103a733af9
|
Replace reads with explicit `println!`s
|
2 years ago |
SabrinaJewson
|
46f31aeaab
|
Replace accidental rs code blocks with rust
|
2 years ago |
SabrinaJewson
|
42f46d2054
|
Fix one broken link
|
2 years ago |
SabrinaJewson
|
0347b0183f
|
Write “Multithreaded Execution” and add simplified atomic spec
|
2 years ago |
Eric Huss
|
7378da1fab
|
Merge pull request #377 from edoardocostantinidev/typo/lifetime-mismatch
[typo] typo on limits of lifetime chapter
|
2 years ago |
Edoardo Costantini
|
37be7eae04
|
[fix] typo
|
2 years ago |
Yuki Okushi
|
341005b559
|
Update the `repr(transparent)` section to reflect the current state
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
|
2 years ago |
5225225
|
8d1e4dccf7
|
Should be `align_of` instead of `size_of`
|
2 years ago |
zhenya-1007
|
6018eccdf6
|
Update lifetimes.md
Add a comment that would have made the reading smoother for me, at least.
|
2 years ago |
zhenya-1007
|
f37e0b25f0
|
Update lifetimes.md
Get rid of the obviously wrong (and potentially confusing) double lifetime annotation. My guess as to the etiology is an errant copy-and-paste.
|
2 years ago |
gftea
|
70db9e4189
|
should be `size_of` instead of `align_of` (#371)
|
2 years ago |