Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Closed
Description
Feature or enhancement
Inconcurrent.futures.thread.ThredPoolExecutor
methodexecutor._idle_semaphore.release()
should be called if only work queue is empty
Pitch
Currently_idle_semaphore.release()
is called after processing every item in queue. That produces useless semaphore updates in case when queue still has items to process.
The optimization is going to increase processing speed of work queue.
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done