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

Fix cv_timedwait_hires #5024

Closed
wants to merge 1 commit into from

Conversation

behlendorf
Copy link
Contributor

@behlendorf behlendorf commented Aug 25, 2016

The user space implementation of cv_timedwait_hires() was always passing
a relative time to pthread_cond_timedwait() when an absolute time is
expected. This was accidentally introduced in commit 206971d.

Replace two magic values with their corresponding preprocessor macro.

Signed-off-by: Brian Behlendorf [email protected]

The user space implementation of cv_timedwait_hires() was always passing
a relative time to pthread_cond_timedwait() when an absolute time is
expected.  This was accidentally introduced in commit 206971d.

Replace two magic values with their corresponding preprocessor macro.

Signed-off-by: Brian Behlendorf <[email protected]>
@behlendorf
Copy link
Contributor Author

@rtvd can you please review this.

@ryao
Copy link
Contributor

ryao commented Aug 27, 2016

@behlendorf This looks good to me.

@behlendorf
Copy link
Contributor Author

@ryao thanks for the speedy review!

@behlendorf behlendorf added this to the 0.7.0 milestone Aug 29, 2016
@behlendorf behlendorf added the Bug label Aug 29, 2016
@behlendorf behlendorf deleted the cv_timedwait_hires branch February 16, 2017 00:12
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.

2 participants