nuttx/include/sys
Bowen Wang 2f9c082f8f fs_epoll: serveral epoll issues fix
1. fs_epoll: try again when epoll_teardown() return 0
when poll_notify() called larger than twice when epoll_wait() blocked
in the eph->sem, the semcount will be larger than 1 when epoll_wait()
unblocked and will return 0 directly at the next epoll_wait.
So retry to wait the eph->sem again when epoll_teardown return 0.

2. fs_epoll: poll_setup the fd again even this fd got non-expected event
Some poll implementations need call poll_setup again when their internal
states changed (e.g., local socket), so should add the fd to the epoll
teardown list and poll_setup again at the next epoll_wait even this fd
got the user non-expected event.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2023-11-02 00:44:52 +08:00
..
boardctl.h usbadb: add usbadb boardctl 2023-08-07 11:23:36 +08:00
custom_file.h
endian.h endian: Make all endian related functions use the expicit type 2023-10-20 09:46:21 +08:00
epoll.h
eventfd.h
file.h
ioctl.h
ipc.h
mman.h
mount.h fs/ioctl: add BIOC_BLKGETSIZE cmd to get block sector numbers 2023-08-19 01:43:59 +08:00
msg.h
param.h
poll.h fs_epoll: serveral epoll issues fix 2023-11-02 00:44:52 +08:00
prctl.h
queue.h
random.h
resource.h getrlimit: add RLIMIT_MEMLOCK define 2023-07-31 07:50:10 -07:00
select.h
sendfile.h
shm.h
signalfd.h
socket.h
sockio.h
stat.h
statfs.h fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
statvfs.h
syscall_lookup.h stdio: Merge fs_fdopen into fdopen to simplify the code logi 2023-10-17 13:34:00 +08:00
syscall.h
sysinfo.h
sysmacros.h
time.h
timerfd.h
times.h
tree.h
types.h sys/types: supporting 32-bit IDs for gid_t/uid_t 2023-10-07 18:21:21 +08:00
uio.h
un.h
utsname.h
vfs.h
videoio.h
wait.h