Adjusting the size of a stopped thread pool starts new threads.
|Reported by:||tom.prince||Owned by:||hawkowl|
(github, patch, buildbot, log)
The following code will hang:
from twisted.python.threadpool import ThreadPool pool = ThreadPool() pool.start() pool.stop() pool.adjustPoolsize()
Change History (5)
comment:2 Changed 20 months ago by hawkowl
- Keywords review added
- Type changed from enhancement to defect
comment:3 Changed 20 months ago by hawkowl
- Summary changed from Adjusting the size of a stopped thead pool starts new threads. to Adjusting the size of a stopped thread pool starts new threads.
Note: See TracTickets for help on using tickets.