nuttx/fs/vfs
dongjiuzhu d452a05910 pollnotify: we should send poll events before semaphore incrementes.
There is a good case on sim platform:
When we input some cmd and click enter key to start application in terminal,
this context will change to application from IDLE loop. Althrough entey key '\r'
has been received to recv buffer and complete post semaphore of reader, but
pollnotify may not be called because context change. So when application run
poll function, because no events happend and poll enter wait, context will
again change to IDLE loop, this pollnotify of IDLE loop will run to send poll
events, poll function of applicaton will wake up. It's wrong!

Change-Id: I812a889f2e90781a9c3cb4b0251cccc4d32bebd1
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-26 08:27:09 -03:00
..
fs_close.c fs/vfs: Add nx_close function 2020-05-03 12:15:54 -06:00
fs_dup2.c fs/vfs: Add nx_dup and nx_dup2 function 2020-05-04 07:20:02 -06:00
fs_dup.c fs/vfs: Add nx_dup and nx_dup2 function 2020-05-04 07:20:02 -06:00
fs_dupfd2.c fs/vfs: Add nx_dup and nx_dup2 function 2020-05-04 07:20:02 -06:00
fs_dupfd.c fs/vfs: reuse file_dup2 directly in file_dup to fix segfault issue 2020-09-09 07:49:40 -07:00
fs_epoll.c epoll_create: mofidy return value for epoll_create1 2020-10-25 11:06:37 -07:00
fs_eventfd.c pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
fs_fcntl.c fs/setfd: correct the return value 2020-06-24 13:48:41 +01:00
fs_fdopen.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
fs_fstat.c fs: Implement lstat function 2020-06-30 13:09:58 -06:00
fs_fstatfs.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
fs_fsync.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
fs_getfilep.c include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
fs_ioctl.c fs/vfs/fs_ioctl.c: Call F_GETFD to avoid clear other flag we will add in the future 2020-09-16 02:31:33 -07:00
fs_lseek.c fs/vfs: Add nx_seek function 2020-05-03 12:15:54 -06:00
fs_mkdir.c fs/vfs: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink 2020-08-17 00:16:26 +01:00
fs_open.c vfs: fix support for PTY when CONFIG_NET is not enabled 2020-06-16 09:56:21 +08:00
fs_poll.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
fs_pread.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
fs_pwrite.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
fs_read.c Fix typo in the file_read description (#44) 2020-01-07 07:07:39 -03:00
fs_readlink.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
fs_rename.c fs: Add the relative path support 2020-09-24 03:13:27 -07:00
fs_rmdir.c fs/vfs: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink 2020-08-17 00:16:26 +01:00
fs_select.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
fs_sendfile.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
fs_stat.c vfs: Create a node as the root of pseudo file system 2020-09-16 11:44:57 -07:00
fs_statfs.c vfs: Create a node as the root of pseudo file system 2020-09-16 11:44:57 -07:00
fs_symlink.c fs: Add the relative path support 2020-09-24 03:13:27 -07:00
fs_truncate.c Squashed commit of the following: 2018-01-04 10:54:54 -06:00
fs_unlink.c fs/vfs: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink 2020-08-17 00:16:26 +01:00
fs_write.c net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
Make.defs libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00