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

BusABC.recv: keep calling _recv_internal until it returns None #1686

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

Commits on Oct 27, 2023

  1. BusABC.recv: keep calling _recv_internal until it returns None

    Even if recv() is called with timeout=0, the caller's intention is
    probably for recv() to check all of the messages that have already
    arrived at the interface until one of them matches the filters.
    
    This is already the way recv() behaves for interface drivers that take
    advantage of hardware or OS-level filtering, but those that use BusABC's
    default software-based filtering might return None even if a matching
    message has already arrived.
    malsyned committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    548a200 View commit details
    Browse the repository at this point in the history