mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 10:03:51 +00:00
aio_suspend() checked the completion status once and then performed a single sigtimedwait(). Any SIGPOLL delivered by an unrelated AIO operation (one not referenced by 'list') woke the caller even though none of the awaited requests had completed, and with a timeout the remaining wait time was not preserved either. Re-check the completion status after every wakeup and continue waiting, recomputing the remaining time from the absolute deadline so that the full timeout is honored. Signed-off-by: wushenhui <wushenhui@xiaomi.com> |
||
|---|---|---|
| .. | ||
| aio.h | ||
| aio_error.c | ||
| aio_return.c | ||
| aio_suspend.c | ||
| CMakeLists.txt | ||
| Make.defs | ||