Skip to content
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

Add trylock to ticket locks. #388

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add trylock to ticket locks. #388

wants to merge 1 commit into from

Conversation

davidchisnall
Copy link
Collaborator

It's not impossible to do, it's just annoying, I realised while writing the book paragraph explaining that it's impossible.

@davidchisnall davidchisnall requested review from nwf and rmn30 December 20, 2024 12:37
It's not impossible to do, it's just annoying, I realised while writing
the book paragraph explaining that it's impossible.
@davidchisnall
Copy link
Collaborator Author

Updating with offline discussion: this code is currently wrong because the unlock path does not do a futex wake if there are no outstanding waiters. Not sure if it’s worth fixing, we currently have no users of flag locks.

@davidchisnall davidchisnall marked this pull request as draft January 11, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant