summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-12-23 00:06:37 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-12-23 00:07:00 +0200
commit1c9210bc2b58303c1df2ff287f17d178b1a2772b (patch)
treefb38fd67839a5738b43ca2a73a87a28938f2df8e /py/qstrdefs.h
parente9751d2ac057070c52a7a67bd6e8b97e944ee088 (diff)
downloadmicropython-1c9210bc2b58303c1df2ff287f17d178b1a2772b.tar.gz
micropython-1c9210bc2b58303c1df2ff287f17d178b1a2772b.zip
unix/unix_mphal: Raise KeyboardInterrupt straight from signal handler.
POSIX doesn't guarantee something like that to work, but it works on any system with careful signal implementation. Roughly, the requirement is that signal handler is executed in the context of the process, its main thread, etc. This is true for Linux. Also tested to work without issues on MacOSX.
Diffstat (limited to 'py/qstrdefs.h')
0 files changed, 0 insertions, 0 deletions