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

rohanpm / more-executors / 170 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2018 09:40AM UTC
Files 8
Run time 0s
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

22 Mar 2018 09:33AM UTC coverage: 100.0%. Remained the same
TOX_ENV=cov-travis

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

Source Files on job 170.3 (TOX_ENV=cov-travis)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 170.3
  • ce6dea07 on github
  • Prev Job for TOX_ENV=cov-travis on master (#162.3)
  • Next Job for TOX_ENV=cov-travis on master (#173.3)
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