mirror of
https://github.com/apache/nuttx.git
synced 2026-09-30 02:53:49 +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> |
||
|---|---|---|
| .. | ||
| libbuiltin | ||
| libc | ||
| libdsp | ||
| libm | ||
| libnx | ||
| libxx | ||
| CMakeLists.txt | ||