Skip to content

Add support for pecl-ev #83

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

Closed
wants to merge 2 commits into from
Closed

Add support for pecl-ev #83

wants to merge 2 commits into from

Conversation

rhclayto
Copy link

This pull request adds support for the pecl-ev PHP extension.

https://bitbucket.org/osmanov/pecl-ev
http://docs.php.net/ev

I have it running locally & it seems to be working fine, as well as or better than the StreamSelectLoop. Poking & prodding is welcome of course.

Add support for pecl-ev extension.
Add support for pecl-ev.
@clue
Copy link
Member

clue commented Mar 15, 2017

Thanks for filing this! How does this one compare to #12 and #25?

@rhclayto
Copy link
Author

rhclayto commented Mar 15, 2017

Uh, yeah, I guess I should have checked better before making the pull request. I suppose this one should be closed as the older pull requests do the same thing. I guess the differences are this one uses the default Ev loop instead of a new EvLoop, & it uses EvTimer for the periodic timer instead of EvPeriodic. EvPeriodic uses wall clock whereas EvTimer uses real time. Fewer lines of code? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants