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 file descriptor support for poller #606

Merged
merged 3 commits into from
Jul 27, 2023

Conversation

stephanschim
Copy link
Contributor

Add file descriptor support for zmq::active_poller and zmq::base_poller_t.

Note: On Windows, only socket file descriptors are supported. This is a limitation of libzmq.

@uyha
Copy link
Contributor

uyha commented Jul 24, 2023

@gummif could you have a look at this PR?

zmq_addon.hpp Outdated
@@ -34,6 +34,7 @@
#include <limits>
#include <functional>
#include <unordered_map>
#include <variant>
Copy link
Member

Choose a reason for hiding this comment

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

This unfortunately requires C++17

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5659739096

  • 39 of 43 (90.7%) changed or added relevant lines in 2 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.06%) to 86.313%

Changes Missing Coverage Covered Lines Changed/Added Lines %
zmq_addon.hpp 35 39 89.74%
Files with Coverage Reduction New Missed Lines %
zmq_addon.hpp 1 95.02%
zmq.hpp 1 82.81%
Totals Coverage Status
Change from base Build 5321226093: 0.06%
Covered Lines: 845
Relevant Lines: 979

💛 - Coveralls

@gummif
Copy link
Member

gummif commented Jul 27, 2023

Looks good 👍

@gummif gummif merged commit 945d60c into zeromq:master Jul 27, 2023
9 of 12 checks passed
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