micropython/unix
Paul Sokolovsky 1c9210bc2b 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.
2015-12-23 00:07:00 +02:00
..
.gitignore
Makefile unix: Add FreeDos target 2015-12-16 13:28:12 +00:00
alloc.c
coverage.c
file.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
gccollect.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
input.c unix/input: Switch to POSIX I/O for history reading/writing. 2015-11-16 07:40:56 +02:00
input.h
main.c unix: Properly cancel REPL input when Ctrl-C is pressed. 2015-12-22 22:06:09 +00:00
modffi.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modjni.c unix/modjni: Add missing get_jclass_name() function. 2015-11-11 16:43:27 +02:00
modmachine.c unix: machine_mem improvements 2015-12-18 22:01:03 +02:00
modos.c unix: Change define logic of _DIRENT_HAVE_D_INO to match other macros. 2015-12-16 14:17:56 +00:00
modsocket.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modtermios.c unix/modtermios: DJGPP appears to have unicode-capable cc_t type. 2015-12-09 22:01:29 +02:00
modtime.c unix/modtime: Add strftime() function (only single argument is supported). 2015-12-14 00:10:57 +02:00
moduselect.c unix/moduselect: Make configurable with MICROPY_PY_USELECT. 2015-12-13 08:47:42 +02:00
mpconfigport.h unix/unix_mphal: Raise KeyboardInterrupt straight from signal handler. 2015-12-23 00:07:00 +02:00
mpconfigport.mk
mpconfigport_fast.h
mpconfigport_freedos.h unix: Change define logic of _DIRENT_HAVE_D_INO to match other macros. 2015-12-16 14:17:56 +00:00
mpconfigport_minimal.h unix: Rename "_os" module to "uos" for consistency with baremetal ports. 2015-12-12 00:04:35 +02:00
mphalport.h unix: Add "uselect" module, with poll() function. 2015-11-17 00:35:57 +02:00
qstrdefsport.h uos: Add errno() function to get/set errno value. 2015-12-16 00:38:26 +02:00
unix_mphal.c unix/unix_mphal: Raise KeyboardInterrupt straight from signal handler. 2015-12-23 00:07:00 +02:00