circuitpython/unix
Damien George 124df6f8d0 py: Add mp_pending_exception global variable, for VM soft interrupt.
This allows to implement KeyboardInterrupt on unix, and a much safer
ctrl-C in stmhal port.  First ctrl-C is a soft one, with hope that VM
will notice it; second ctrl-C is a hard one that kills anything (for
both unix and stmhal).

One needs to check for a pending exception in the VM only for jump
opcodes.  Others can't produce an infinite loop (infinite recursion is
caught by stack check).
2014-10-25 23:37:57 +01:00
..
.gitignore Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
Makefile unix: Add comment about needed dependencies for MICROPY_FORCE_32BIT. 2014-10-11 20:33:37 +03:00
alloc.c Code style/whitespace cleanup; remove obsolete headers. 2014-09-03 22:47:23 +01:00
file.c Implement kwargs for builtin open() and _io.FileIO 2014-10-21 22:10:01 +03:00
gccollect.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
input.c unix: Remove unused CTRL-D definition 2014-06-25 13:33:10 +02:00
input.h Add input command for unix 2014-05-07 07:19:51 -07:00
main.c py: Add mp_pending_exception global variable, for VM soft interrupt. 2014-10-25 23:37:57 +01:00
modffi.c unix: Fix modffi to be able to return double on x86 machines. 2014-09-06 23:04:42 +00:00
modos.c py: Change all uint to mp_uint_t in obj.h. 2014-08-30 14:19:41 +01:00
modsocket.c Implement kwargs for builtin open() and _io.FileIO 2014-10-21 22:10:01 +03:00
modtermios.c py: Change all uint to mp_uint_t in obj.h. 2014-08-30 14:19:41 +01:00
modtime.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
mpconfigport.h py: Implement compile builtin, enabled only on unix port. 2014-10-25 22:07:25 +01:00
mpconfigport.mk modtermios: Add "termios" unix module, subset of CPython's. 2014-08-23 06:09:46 +03:00
qstrdefsport.h unix: Rename "microsocket" module to "usocket". 2014-10-09 20:43:10 +03:00
seg_helpers.c unix: Create __bss_start and _end symbols for Mach-O targets. 2014-05-12 00:13:10 +02:00