Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
rust-lang
rust
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
1.4k
(1.4k)
Actions
Projects
Security and quality
6
(6)
Insights
More
items
Deprecate atomic compare_and_swap method
- #79261
#79261
Merged
bors
merged 8 commits into
rust-
lang:
master
rust-lang/rust:master
from
faern:
deprecate-
compare-
and-
swap
faern/rust:deprecate-compare-and-swap
Copy head branch name to clipboard
Dec 23, 2020
Conversation
Commits
8
(8)
Checks
Files changed
Merged
Deprecate atomic compare_and_swap method
#79261
bors
merged 8 commits into
rust-
lang:
master
rust-lang/rust:master
from
faern:
deprecate-
compare-
and-
swap
faern/rust:deprecate-compare-and-swap
Copy head branch name to clipboard
Commits
Commits on Dec 22, 2020
Deprecate compare_and_swap on all atomic types
faern
committed
3abba5e
View commit details
Copy full SHA for 3abba5e
Browse repository at this point
Add documentation on migrating away from compare_and_swap
faern
committed
4252e48
View commit details
Copy full SHA for 4252e48
Browse repository at this point
Migrate standard library away from compare_and_swap
faern
committed
828d4ac
View commit details
Copy full SHA for 828d4ac
Browse repository at this point
Add doc aliases to compare_exchange[_weak]
faern
committed
7f35e2d
View commit details
Copy full SHA for 7f35e2d
Browse repository at this point
Fix documentation typo
faern
committed
427996a
View commit details
Copy full SHA for 427996a
Browse repository at this point
Improve documentation on `success` and `failure` arguments
faern
committed
3eef20f
View commit details
Copy full SHA for 3eef20f
Browse repository at this point
Fix compare_and_swap in Windows thread_parker
faern
committed
865e479
View commit details
Copy full SHA for 865e479
Browse repository at this point
Update library/std/src/sys/windows/thread_parker.rs
Show description for 454f3ed
faern
and
m-ou-se
authored
454f3ed
View commit details
Copy full SHA for 454f3ed
Browse repository at this point
You can’t perform that action at this time.