nuttx/boards/mips/pic32mx
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
..
mirtoo Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
pic32mx7mmb pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
pic32mx-starterkit Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
sure-pic32mx Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
ubw32 Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00