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 try_lock to mutex/rwmutex #20381

Merged
merged 4 commits into from Jan 5, 2024
Merged

add try_lock to mutex/rwmutex #20381

merged 4 commits into from Jan 5, 2024

Conversation

kbkpbot
Copy link
Contributor

@kbkpbot kbkpbot commented Jan 4, 2024

sync: add try_lock support for mutex/rwmutex

@kbkpbot kbkpbot changed the title add try_lock to mutext/rwmutex add try_lock to mutex/rwmutex Jan 4, 2024
Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman
Copy link
Member

Can you also add a small test for each function?

@spytheman
Copy link
Member

Thank you.

@spytheman spytheman merged commit d7fc66f into vlang:master Jan 5, 2024
48 checks passed
@kbkpbot kbkpbot deleted the sync.try_lock branch January 5, 2024 14:02
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.

None yet

2 participants