Skip to content

[sleepq] Add a mutex to the sleepq wait interface. #1378

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

Merged
merged 2 commits into from
Jan 8, 2023

Conversation

MichalBlk
Copy link
Collaborator

As the current sleepq interface lacks any mechanism to lock the destination chain before calling the appropriate wait function, we at least need a way to release a provided lock before falling asleep.
The sleepq_lock mechanism will be introduced as part of merging #1367.

Required by sigtimedwait (see #1320).

@MichalBlk MichalBlk added the review please review this PR label Jan 7, 2023
Copy link
Owner

@cahirwpz cahirwpz left a comment

Choose a reason for hiding this comment

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

LGTM

@cahirwpz cahirwpz added accepted accepted by the maintainer for code review and removed review please review this PR labels Jan 8, 2023
@cahirwpz cahirwpz merged commit ed2b086 into cahirwpz:master Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted accepted by the maintainer for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants