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

refactor NIDAS reactor code #19

Open
garyjg opened this issue Dec 10, 2024 · 0 comments
Open

refactor NIDAS reactor code #19

garyjg opened this issue Dec 10, 2024 · 0 comments

Comments

@garyjg
Copy link
Member

garyjg commented Dec 10, 2024

Currently there are several almost identical sections of code which all implement a select loop. Either consolidate and encapsulate all that code into a reactor API, or use a third-party implementation like boost::asio, and add support for timer events. Then use the timer events to properly implement timeouts which do not depend on other events to trigger the timeout check. In the current implementation, all the CPP conditional compile code can be cleaned up, since all platforms support epoll() now.

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

No branches or pull requests

1 participant