micropython/zephyr/src
Paul Sokolovsky 58168c8e6b zephyr/zephyr_getchar: Explicitly yield to other threads on char availability.
Without this, if there's a large chunk of data coming from hardware (e.g.
clipboard paste, or fed programmatically from the other side of the console),
there's a behavior of initial mass fill-in of the buffer without any
consumption, which starts much later and doesn't catch up with further
filling, leading to buffer overflow.
2017-04-04 17:14:53 +03:00
..
Makefile
zephyr_getchar.c zephyr/zephyr_getchar: Explicitly yield to other threads on char availability. 2017-04-04 17:14:53 +03:00
zephyr_getchar.h
zephyr_start.c