Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
16.3k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Replace pthread
RwLock
with custom implementation
- #110211
#110211
Merged
bors
merged 12 commits into
rust-lang:master
rust-lang/rust:master
from
joboet:queue_lock
joboet/rust:queue_lock
Copy head branch name to clipboard
Feb 12, 2024
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Replace pthread
RwLock
with custom implementation
#110211
bors
merged 12 commits into
rust-lang:master
rust-lang/rust:master
from
joboet:queue_lock
joboet/rust:queue_lock
Copy head branch name to clipboard
Commits
Commits on Feb 9, 2024
std: replace pthread `RwLock` with custom implementation inspired by usync
joboet
committed
934eb8b
View commit details
Copy full SHA for 934eb8b
Browse repository at this point
adjust code documentation
joboet
committed
2e652e5
View commit details
Copy full SHA for 2e652e5
Browse repository at this point
use braces to make operator precedence less ambiguous
joboet
committed
280cbc5
View commit details
Copy full SHA for 280cbc5
Browse repository at this point
avoid unnecessary `Thread` handle allocation
joboet
committed
709ccf9
View commit details
Copy full SHA for 709ccf9
Browse repository at this point
immediately register writer node if threads are queued
joboet
committed
61ce691
View commit details
Copy full SHA for 61ce691
Browse repository at this point
use exponential backoff in `lock_contended`
joboet
committed
8db64b5
View commit details
Copy full SHA for 8db64b5
Browse repository at this point
queue_rwlock: use a separate `QUEUE_LOCKED` bit to synchronize waiter queue updates
joboet
committed
16aae04
View commit details
Copy full SHA for 16aae04
Browse repository at this point
inline some single-use functions, add documentation
joboet
committed
1fd9f78
View commit details
Copy full SHA for 1fd9f78
Browse repository at this point
format using latest rustfmt
joboet
committed
69f55de
View commit details
Copy full SHA for 69f55de
Browse repository at this point
be more explicit about why adding backlinks eagerly makes sense
joboet
committed
3fa5a40
View commit details
Copy full SHA for 3fa5a40
Browse repository at this point
address review comments
joboet
committed
ff44ae7
View commit details
Copy full SHA for ff44ae7
Browse repository at this point
Commits on Feb 11, 2024
add doc-comment to `unlock_queue`
joboet
committed
04282db
View commit details
Copy full SHA for 04282db
Browse repository at this point
You can’t perform that action at this time.