• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 12990
98%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2020 04:26AM UTC
Jobs 1
Files 275
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
12990

push

travis-ci

dpgeorge
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.

16625 of 16946 relevant lines covered (98.11%)

483401.5 hits per line

Jobs
ID Job ID Ran Files Coverage
4 12990.4 (MAKEOPTS="-j4" NAME="unix coverage build and tests") 27 Mar 2020 04:26AM UTC 0
98.11
Travis Job 12990.4
Source Files on build 12990
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12990
  • 9418611c on github
  • Prev Build on master (#12986)
  • Next Build on master (#13004)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc