Skip to content

docs: clarify thread pool worker count wording#2813

Open
suyua9 wants to merge 1 commit intoSnailclimb:mainfrom
suyua9:docs/clarify-thread-pool-worker-count-suyua9
Open

docs: clarify thread pool worker count wording#2813
suyua9 wants to merge 1 commit intoSnailclimb:mainfrom
suyua9:docs/clarify-thread-pool-worker-count-suyua9

Conversation

@suyua9
Copy link
Copy Markdown

@suyua9 suyua9 commented Apr 3, 2026

Summary

  • clarify that the execute() decision flow is based on the total number of live worker threads, not only the threads currently running tasks
  • update the simplified ThreadPoolExecutor flow explanation to avoid mixing running, idle, and alive worker states
  • align the thread pool best-practices wording with the same worker-count terminology

Testing

  • git diff --check

Closes #2804

Signed-off-by: suyua9 <1521777066@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

关于线程池那核心参数与线程处理任务的流程中对于线程状态的理解感觉有歧义

1 participant