Message412471
> I'm running some long-running (possibly infinite) tasks in the thread pool,
> and I cancel them in an `atexit` callback
Alternately, perhaps ThreadPoolExecutor isn't the right fit here, as implied by the route you ended up going. It seems like it's not well-suited for long-running (or infinite) tasks. In that case, perhaps the concurrent.futures docs could be more clear about when ThreadPoolExecutor is not a good fit and what the alternatives are. |
|
| Date |
User |
Action |
Args |
| 2022-02-03 21:21:56 | eric.snow | set | recipients:
+ eric.snow, pitrou, vstinner, sa, Ben.Darnell, aeros |
| 2022-02-03 21:21:56 | eric.snow | set | messageid: <1643923316.58.0.332312205916.issue41962@roundup.psfhosted.org> |
| 2022-02-03 21:21:56 | eric.snow | link | issue41962 messages |
| 2022-02-03 21:21:56 | eric.snow | create | |
|