circuitpython/ports
David Lechner 9418611c8a unix: Implement PEP 475 to retry syscalls failing with EINTR.
https://www.python.org/dev/peps/pep-0475/

This implements something similar to PEP 475 on the unix port, and for the
VfsPosix class.

There are a few differences from the CPython implementation:
- Since we call mp_handle_pending() between any ENITR's, additional
  functions could be called if MICROPY_ENABLE_SCHEDULER is enabled, not
  just signal handlers.
- CPython only handles signal on the main thread, so other threads will
  raise InterruptedError instead of retrying.  On MicroPython,
  mp_handle_pending() will currently raise exceptions on any thread.

A new macro MP_HAL_RETRY_SYSCALL is introduced to reduce duplicated code
and ensure that all instances behave the same.  This will also allow other
ports that use POSIX-like system calls (and use, eg, VfsPosix) to provide
their own implementation if needed.
2020-03-27 14:40:46 +11:00
..
bare-arm py/mpconfig.h: Enable MICROPY_MODULE_GETATTR by default. 2020-03-26 01:21:04 +11:00
cc3200 all: Remove spaces between nested paren and inside function arg paren. 2020-03-25 00:39:46 +11:00
esp32 esp32: Enable and freeze uasyncio. 2020-03-26 01:25:46 +11:00
esp8266 esp8266: Enable and freeze uasyncio. 2020-03-26 01:25:46 +11:00
javascript all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mimxrt mimxrt: Add MIMXRT1010 board. 2020-03-11 15:36:27 +11:00
minimal py/mpconfig.h: Enable MICROPY_MODULE_GETATTR by default. 2020-03-26 01:21:04 +11:00
nrf ports: Add lib/libm/roundf.c to bare-metal Makefile's. 2020-03-25 01:22:00 +11:00
pic16bit all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
powerpc all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
qemu-arm qemu-arm: Set default board as mps2-an385 to get more flash for tests. 2020-03-26 01:21:04 +11:00
samd samd: Fix to build with latest tinyusb. 2020-03-11 15:34:10 +11:00
stm32 stm32/mpconfigport.h: Remove unused root pointer for BTstack bindings. 2020-03-27 00:30:37 +11:00
teensy all: Remove spaces between nested paren and inside function arg paren. 2020-03-25 00:39:46 +11:00
unix unix: Implement PEP 475 to retry syscalls failing with EINTR. 2020-03-27 14:40:46 +11:00
windows windows/windows_mphal: Fix missing semicolon. 2020-03-25 00:59:34 +11:00
zephyr zephyr: Update machine.Pin class to use new zephyr gpio api. 2020-03-25 00:29:42 +11:00