micropython/ports/unix/variants
Andrew Leech 86bfabec11 py/modmicropython: Add heap_locked function to test state of heap.
This commit adds micropython.heap_locked() which returns the current
lock-depth of the heap, and can be used by Python code to check if the heap
is locked or not.  This new function is configured via
MICROPY_PY_MICROPYTHON_HEAP_LOCKED and is disabled by default.

This commit also changes the return value of micropython.heap_unlock() so
it returns the current lock-depth as well.
2020-03-11 16:54:16 +11:00
..
coverage py/modmicropython: Add heap_locked function to test state of heap. 2020-03-11 16:54:16 +11:00
dev lib/mp-readline: Add word-based move/delete EMACS key sequences. 2020-01-12 13:09:27 +11:00
fast unix: Rename unix binaries to micropython-variant (not _variant). 2020-01-12 10:37:40 +11:00
freedos unix/Makefile: Reserve CFLAGS_EXTRA/LDFLAGS_EXTRA for external use. 2020-01-24 11:51:21 +11:00
minimal unix: Rename unix binaries to micropython-variant (not _variant). 2020-01-12 10:37:40 +11:00
nanbox unix: Rename unix binaries to micropython-variant (not _variant). 2020-01-12 10:37:40 +11:00
standard unix/Makefile: Allow to install all variants of the executable. 2020-02-16 23:37:40 +11:00