-
Notifications
You must be signed in to change notification settings - Fork 245
Description
Is your feature request related to a problem? Please describe.
On some other UNIX systems, select() can fail with the error EAGAIN if the system fails to allocate kernel-internal resources,
rather than ENOMEM as Linux does. POSIX specifies this error for poll(2), but not for select(). Portable programs may wish to
check for EAGAIN and loop, just as with EINTR.
osal/src/os/portable/os-impl-bsd-select.c
Line 222 in ead5723
| } while (os_status < 0 && errno == EINTR); |
Describe the solution you'd like
Add check for EAGAIN
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review