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

Simplify implementation of CallbackQueue::callOne() #1

Commits on Jul 31, 2020

  1. roscpp: simplify implementation of CallbackQueue::callOne()

    Replace duplicate wait_for() call in CallbackQueue::callOne() with a loop and a call to wait_until().
    meyerj committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3a98900 View commit details
    Browse the repository at this point in the history
  2. roscpp: return TryAgain from CallbackQueue::callOne(timeout) immediat…

    …ely if timeout.isZero()
    
    ... and if none of the other result conditions holds (i.e. the queue is Empty or Disabled).
    meyerj committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    7b69f44 View commit details
    Browse the repository at this point in the history