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 select to reduce CPU usage. #361

Open
wants to merge 2 commits into
base: ros2
Choose a base branch
from

Commits on Nov 6, 2019

  1. Use select to reduce CPU usage.

    Since the file descriptor to the COM port is non-blocking,
    use select to sleep for as long as we need to get data.  This
    reduces CPU usage quite a lot.
    
    Signed-off-by: Chris Lalancette <[email protected]>
    clalancette committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    83e331a View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Fix two potential memory leaks.

    Signed-off-by: Chris Lalancette <[email protected]>
    clalancette committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    9795bc0 View commit details
    Browse the repository at this point in the history