nuttx/boards/mips/pic32mx/pic32mx7mmb/src
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
..
Makefile build: Remove the empty variable assignment 2020-05-24 08:24:13 -06:00
pic32_appinit.c Fix typos 2020-05-14 10:49:44 -06:00
pic32_boot.c arch/mips: Fix file naming. 2020-04-26 20:56:30 -06:00
pic32_bringup.c CI check: fix nxstyle warning 2020-07-02 01:53:23 -05:00
pic32_leds.c drivers/led: Extend userled_set_t from 8bits to 32bits 2020-06-07 19:28:10 +01:00
pic32_mio283qt2.c arch/mips: Fix file naming. 2020-04-26 20:56:30 -06:00
pic32_spi.c arch/mips: Fix file naming. 2020-04-26 20:56:30 -06:00
pic32_touchscreen.c pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
pic32_usbdev.c Fix PIC32MX/MZ typos 2020-08-22 18:44:58 +01:00
pic32_usbmsc.c
pic32mx7mmb.h