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

Use Socket SO_TIMEOUT to wait for data #306

Merged

Conversation

IAmNickNack
Copy link
Contributor

This PR proposes an alternative implementation to wait for expected data when using the sockets GPIO provider as referred to in #305

@eitch
Copy link
Member

eitch commented Oct 23, 2023

@IAmNickNack this is definitely better than the busy waiting. Thanks for the PR

@eitch eitch merged commit 449704d into Pi4J:develop Oct 23, 2023
1 check passed
@IAmNickNack IAmNickNack deleted the use-socket-setsotimeout-for-socket-operations branch October 24, 2023 07:24
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.

2 participants