nuttx/fs
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
..
aio sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
binfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
cromfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
dirent fs: Add the relative path support 2020-09-24 03:13:27 -07:00
driver Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
fat Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
hostfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
inode fs: Skip the enumeration of root directory in foreach_inode 2020-09-30 12:26:57 +02:00
littlefs fs/littlefs: enable the low level log only on debug mode 2020-08-18 12:13:32 +01:00
mmap Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
mount fs: add missing macro 'CONFIG_FS_HOSTFS' for 'NODFS_SUPPORT'. 2020-10-17 23:22:35 +08:00
mqueue Fix inverted errno in mq_open 2020-08-20 20:35:16 -03:00
nfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
nxffs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
partition Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
procfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
romfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
semaphore Check return from nxsem_wait_initialize() 2020-03-30 17:09:45 +01:00
shm fs/: Remove dangling space at the end of lines. 2017-06-28 13:17:55 -06:00
smartfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
spiffs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
tmpfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
unionfs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
userfs fix nxstyle warning 2020-07-10 21:30:02 +01:00
vfs pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
fs_initialize.c Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
Kconfig vfs/epoll: add epoll_create1(2) implement 2020-08-17 23:41:13 -05:00
Makefile Makefile: Fix Make.dep not updated by config changes 2020-07-28 03:59:45 -05:00