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

Fix #988, do not require nonblock mode #993

Merged

Commits on May 7, 2021

  1. Fix nasa#988, do not require nonblock mode

    In some versions of VxWorks the fcntl F_GETFL/F_SETFL opcodes
    do not appear to be implemented, and thus it is not possible
    to set O_NONBLOCK mode.  However, this mode is not necessarily
    required, it is more of a backup/failsafe.
    
    The "selectable" flag should not be dependent on whether
    O_NONBLOCK flag got set.
    
    This also adjust some timeouts and adds some delays to improve
    the reliability of network-api-test on VxWorks.  The timeouts
    were only 10ms, and this is much too short as messages are
    getting written on a 9600 baud console (avg 1ms/char).  A
    single log message can easily take 50-60ms alone.
    jphickey committed May 7, 2021
    Configuration menu
    Copy the full SHA
    1d6a653 View commit details
    Browse the repository at this point in the history