-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
google#1409 Add poll() and offer() to Uninterruptibles class #4034
base: master
Are you sure you want to change the base?
google#1409 Add poll() and offer() to Uninterruptibles class #4034
Conversation
Any updates? |
I still probably won't have a chance for a while, but it's on my to-do list. |
Works bro, I don't have slightest clue how full is your plate 👍 |
@cpovirk Can you please review and possibly close this! |
It's still on my list, just still behind some other things :( |
@cpovirk Sorry again, I was waiting for my first PR accepted, that has happened so I am fine! Please suggest some feature development problems to work on.. |
Sorry for the delay on the other one, which was simple enough that I should have accepted it more quickly. I'll let you know if I think of some more ideas. |
Sure Ack. |
@cpovirk any issues/features you suggest? |
The one thing that comes to mind is a Dependabot config (like this one) for https://github.com/google/caliper. But before doing that, we'd really like to update all our dependencies ( |
Also #3679 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for taking so long on this. The main thing that these implementations will need to do is to track how much time has passed. Currently, they always pass the original timeout to the delegate. But when that call is interrupted, they should pass only how much time is left. You can see how to set that up here;
long remainingNanos = unit.toNanos(timeout); |
@cpovirk I have updated offer, poll functions adding timeout update as required. Please check. |
No description provided.