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 Mac OS X kqueue support, silence epoll warning #141

Merged
merged 1 commit into from
Oct 17, 2015

Conversation

felixbuenemann
Copy link
Contributor

This enables epoll only if supported, to supress the warning
warning: epoll is not supported on this platform in eventmachine
1.0.8+ and enables kqueue if supported (BSD/Darwin).

This enables epoll only if supported, to supress the warning
`warning: epoll is not supported on this platform` in eventmachine
1.0.8+ and enables kqueue if supported (BSD/Darwin).
@@ -45,7 +45,8 @@ def _data(path)
end

def _start_reactor
EventMachine.epoll
EventMachine.epoll if EventMachine.epoll?

Choose a reason for hiding this comment

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

Unnecessary spacing detected.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's lined up to the following line.

@pjg
Copy link

pjg commented Sep 15, 2015

👍

e2 added a commit that referenced this pull request Oct 17, 2015
Add Mac OS X kqueue support, silence epoll warning
@e2 e2 merged commit ff474a1 into guard:master Oct 17, 2015
@felixbuenemann felixbuenemann deleted the kqueue-support branch October 18, 2015 06:08
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.

4 participants