-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Implement Atomics module #30553
Commits on Mar 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0723a38 - Browse repository at this point
Copy the full SHA 0723a38View commit details
Commits on Mar 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 694bbb7 - Browse repository at this point
Copy the full SHA 694bbb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4b6fb - Browse repository at this point
Copy the full SHA 3f4b6fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84eb34f - Browse repository at this point
Copy the full SHA 84eb34fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b05757 - Browse repository at this point
Copy the full SHA 9b05757View commit details
Commits on Mar 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f4006a6 - Browse repository at this point
Copy the full SHA f4006a6View commit details
Commits on Mar 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 63f041e - Browse repository at this point
Copy the full SHA 63f041eView commit details
Commits on Mar 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a32ef12 - Browse repository at this point
Copy the full SHA a32ef12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c4a639 - Browse repository at this point
Copy the full SHA 6c4a639View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9576528 - Browse repository at this point
Copy the full SHA 9576528View commit details -
Configuration menu - View commit details
-
Copy full SHA for f123869 - Browse repository at this point
Copy the full SHA f123869View commit details
Commits on Mar 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 40d349b - Browse repository at this point
Copy the full SHA 40d349bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a263f6 - Browse repository at this point
Copy the full SHA 0a263f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eda0c8 - Browse repository at this point
Copy the full SHA 8eda0c8View commit details
Commits on Mar 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for eb061c7 - Browse repository at this point
Copy the full SHA eb061c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f685a4 - Browse repository at this point
Copy the full SHA 6f685a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f1e412 - Browse repository at this point
Copy the full SHA 4f1e412View commit details -
[Atomics] UnsafeAtomicPointer<Value> ⟹ UnsafeAtomic<Value>
It’s not really an atomic pointer to some value; rather, it’s an unsafe reference to an atomic value.
Configuration menu - View commit details
-
Copy full SHA for 870a05d - Browse repository at this point
Copy the full SHA 870a05dView commit details
Commits on Apr 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for db68b96 - Browse repository at this point
Copy the full SHA db68b96View commit details -
[Atomics] Eliminate AtomicRepresentable
Merge its functionality into AtomicProtocol itself.
Configuration menu - View commit details
-
Copy full SHA for add99f0 - Browse repository at this point
Copy the full SHA add99f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25cbe2c - Browse repository at this point
Copy the full SHA 25cbe2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c04d036 - Browse repository at this point
Copy the full SHA c04d036View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7839acd - Browse repository at this point
Copy the full SHA 7839acdView commit details -
[Atomics] Implement the weak compare-exchange operation
(Only with separate success/failure orderings for now.)
Configuration menu - View commit details
-
Copy full SHA for be93fbe - Browse repository at this point
Copy the full SHA be93fbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf5f4eb - Browse repository at this point
Copy the full SHA bf5f4ebView commit details
Commits on Apr 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 02b7191 - Browse repository at this point
Copy the full SHA 02b7191View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7bbee8 - Browse repository at this point
Copy the full SHA b7bbee8View commit details
Commits on Apr 7, 2020
-
[Atomic] Add some ceremonial naming prefixes: UnsafeAtomic ⟹ UnsafePo…
…interToAtomic These aren’t really pointers, but this is how we like it.
Configuration menu - View commit details
-
Copy full SHA for 81f7a33 - Browse repository at this point
Copy the full SHA 81f7a33View commit details
Commits on Apr 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 77e79ff - Browse repository at this point
Copy the full SHA 77e79ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 171865c - Browse repository at this point
Copy the full SHA 171865cView commit details
Commits on Apr 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3fd590a - Browse repository at this point
Copy the full SHA 3fd590aView commit details -
[Atomics] Split atomics into two protocol layers; overhaul optionals …
…& storage mgmt - _PrimitiveAtomic is a new hidden protocol implementing the core atomic operations. - _PrimitiveAtomicOptional refines it adding nullability. - AtomicProtocol now consists of a _PrimitiveAtomic-constrained _AtomicStorage, plus conversion methods — all underscored. - Pointer types have opaque atomic storage. - User-visible atomic storage type is UnsafeAtomic.Storage — an opaque value type with a convenience initializer and a dispose() method.
Configuration menu - View commit details
-
Copy full SHA for de5c98d - Browse repository at this point
Copy the full SHA de5c98dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b31896 - Browse repository at this point
Copy the full SHA 4b31896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01a0184 - Browse repository at this point
Copy the full SHA 01a0184View commit details
Commits on Apr 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a032ff4 - Browse repository at this point
Copy the full SHA a032ff4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f43d00 - Browse repository at this point
Copy the full SHA 5f43d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 691f37e - Browse repository at this point
Copy the full SHA 691f37eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 640e196 - Browse repository at this point
Copy the full SHA 640e196View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce1242b - Browse repository at this point
Copy the full SHA ce1242bView commit details
Commits on Apr 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0e2274c - Browse repository at this point
Copy the full SHA 0e2274cView commit details
Commits on Apr 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e13f1fc - Browse repository at this point
Copy the full SHA e13f1fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad30578 - Browse repository at this point
Copy the full SHA ad30578View commit details