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

rohanpm / more-executors / 168
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: clean-api
DEFAULT BRANCH: master
Ran 22 Mar 2018 09:37AM UTC
Jobs 1
Files 8
Run time 1s
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
168

push

travis-ci

bors[bot]
Merge #44

44: Always give a timeout to thread join, to avoid uninterruptible sleep r=rohanpm a=rohanpm

In Python 2.x, a thread join with no timeout is uninterruptible.
This means a process could get stuck in executor shutdown such that
the process can't be killed by SIGTERM.  That's undesirable;
provide a timeout so that it's possible to interrupt.

Python 3 doesn't have this problem (tested on 3.6) - thread joins
are interruptible there.

This probably doesn't entirely fix the problem for Python 2, for
example ThreadPoolExecutor can probably still hang uninterruptably
at shutdown, but at least my code won't be contributing to the
problem...

Fixes #42

503 of 503 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
3 168.3 (TOX_ENV=cov-travis) 22 Mar 2018 09:37AM UTC 0
100.0
Travis Job 168.3
Source Files on build 168
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #168
  • ce6dea07 on github
  • Prev Build on staging (#166)
  • Next Build on staging (#171)
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