Fix /dev/devctl's implementation of poll. We should only be setting
the poll bits when there's actually something in the queue.
Otherwise, select always returned '2' when there were no items to be
read, and '3' when there were. This would preclude being able to read
in a threaded (libc_r) program, as well as checking to see if there
were pending events or not.
Description
Description
Details
Details
- Provenance
imp Authored on Apr 21 2003, 5:58 AM - Parents
- rG61a0da1de584: Add eMicro codec ids.
- Branches
- Unknown
- Tags