Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
Bug description:
fromconcurrent.futuresimportInterpreterPoolExecutordefw():importtimetime.sleep(100)executor1=InterpreterPoolExecutor()executor1.submit(w)executor1.submit(w)executor2=InterpreterPoolExecutor()executor2.submit(w)executor2.submit(w)executor1.shutdown()executor2.shutdown()
With this code, htop with "Show custom thread names" enabled) shows it'sThreadPoolExecutor instead ofInterpreterPoolExecutor:

Other process monitor tools may have the same result if it read the custom thread name from OS.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS, Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done