Skip to content

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