-
Notifications
You must be signed in to change notification settings - Fork 29
gpm_epoll_wait() revisions #25
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
Conversation
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
5f02d96 to
22e018d
Compare
cipherboy
left a comment
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.
While we're here, let's initialize ret to something (EINVAL?). I think it'll help make sure we prevent errors based on uninitialized ret values in the future since this is a huge method.
|
@frozencemetery can you add a description that explains what this PR is trying to do ? |
|
@simo5, applied description from the second commit. First commit is a refactor. |
22e018d to
b8503b5
Compare
This may prevent a tight loop around epoll_wait() when both fire. Signed-off-by: Robbie Harwood <rharwood@redhat.com>
b8503b5 to
0f88872
Compare
|
(Per IRC), this addresses the feedback I had last time. I won't have time to re-review this as much as I did earlier. |
simo5
left a comment
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.
LGTM
|
@frozencemetery are you planning to add anything else? |
|
I think we were waiting to hear back if this fixed the issue before merging. (I haven't heard back yet.) |
|
@frozencemetery have you heard back yet ? |
|
Yes, thanks for the reminder. This did not fix the issue in question - I don't know whether it's better to merge this anyway or to drop it. |
|
Do you think this improves the code in other ways? |
|
I think so - if nothing else, there are more comments explaining what's going on. |
Uh oh!
There was an error while loading. Please reload this page.