Tech notes/concurrent futures and threadpoolexecutor
In Python, when using the ThreadPoolExecutor of concurrent.futures, it is hard to know how many elements are waiting in the queue to be processed. The best I could gather is 1 :
executor._work_queue
That is the queue where the WorkItems
are stored.
- Can it be a good idea to create my own
PoolExecutor
?
Backlinks
These are the other notes that link to this one.
Nothing links here, how did you reach this page then?
Newsletter
Join my experiment of better thinking and interesting discussions