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

feat(modbus): use poll() for Linux instead of select() #617

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fcntlcc
Copy link

@fcntlcc fcntlcc commented Jan 1, 2022

The 1024 limitation of select() makes some problem these days. I think using poll() for *nix systems may be a better choice.

@cla-bot
Copy link

cla-bot bot commented Jan 1, 2022

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get yourself added.

@fcntlcc fcntlcc closed this Jan 3, 2022
@fcntlcc fcntlcc reopened this Jan 3, 2022
@fcntlcc fcntlcc closed this Jan 3, 2022
@fcntlcc fcntlcc reopened this Jan 3, 2022
@stephane stephane self-requested a review January 25, 2022 23:04
@stephane
Copy link
Owner

After a quick look, it seems the tv struct could be replaced by a single integer var (ms).
Are you sure it's supported on other Unix systems (FreeBSD, MacOS, etc)?

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

Successfully merging this pull request may close these issues.

2 participants