# Making it simpler to gracefully exit threads

**URL:** <https://discuss.python.org/t/making-it-simpler-to-gracefully-exit-threads/34019>\
**Category:** Ideas\
**Created:** [September 18, 2023, 3:19pm UTC](https://discuss.python.org/t/making-it-simpler-to-gracefully-exit-threads/34019 "2023-09-18T15:19:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hansgeunsmeyer](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/hansgeunsmeyer/32/15188_2.png) [@hansgeunsmeyer](https://discuss.python.org/u/hansgeunsmeyer)\
**Post date:** [September 18, 2023, 5:52pm UTC](https://discuss.python.org/t/making-it-simpler-to-gracefully-exit-threads/34019/4 "2023-09-18T17:52:56Z")

</div>

Yes, there is `concurrent.futures.Future.cancel()`.

---

_[View the full topic](https://discuss.python.org/t/making-it-simpler-to-gracefully-exit-threads/34019)._
