mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
When readahead data is available, poll needs to return POLLIN or POLLRDNORM, not POLLOUT
This commit is contained in:
@@ -59,12 +59,14 @@
|
||||
* Priority data may be read without blocking.
|
||||
* POLLPRI
|
||||
* High priority data may be read without blocking.
|
||||
*
|
||||
* POLLOUT
|
||||
* Normal data may be written without blocking.
|
||||
* POLLWRNORM
|
||||
* Equivalent to POLLOUT.
|
||||
* POLLWRBAND
|
||||
* Priority data may be written.
|
||||
*
|
||||
* POLLERR
|
||||
* An error has occurred (revents only).
|
||||
* POLLHUP
|
||||
|
||||
Reference in New Issue
Block a user