Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2016-08-07.17:20:38.633>created_at=<Date2016-08-01.18:03:16.648>labels= ['type-feature', 'library']
title='Allow specifying prefix for thread name in concurrent.futures.ThreadPoolExecutor'updated_at=<Date2016-08-07.17:20:38.631>user='https://bugs.python.org/durin42'
deftask():
threading.current_thread().name='%s_%d'% (your_prefix, num_q.get())
num_q.task_done()
num_q.join() # block so that this thread cannot take a new thread naming task until all other tasks are complete. guaranteeing we are executed once per max_workers threads.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: