nuttx/graphics/nxterm
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
..
Make.defs build: Move INCDIROPT to common place 2020-05-18 15:02:55 -06:00
nx_register.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
nxterm_clear.c Squashed commit of the following: 2019-03-09 13:13:05 -06:00
nxterm_driver.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
nxterm_font.c libs/libnx/nxfonts: Fix a memory leak in the font cache. With a busy NxTerm display, this could drain off all the memory pretty quickly! 2019-03-08 11:52:49 -06:00
nxterm_kbdin.c pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
nxterm_putc.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
nxterm_redraw.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
nxterm_register.c Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
nxterm_resize.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
nxterm_scroll.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
nxterm_sem.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
nxterm_unregister.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
nxterm_vt100.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
nxterm.h Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
nxtk_register.c Squashed commit of the following: 2019-03-09 13:13:05 -06:00
nxtool_register.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00