You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's wrong with boost.thread thread_pool was asked somewhere? Well really this type isn't so much a thread pool as an execution context (the base class). I'd suggest renaming to thread_pool_context or threaded_context clears up the confusion here.
Source: Boost review result (conditional acceptance), Boost mailing list, September 2026.
The name is load-bearing: get_system_context() returns thread_pool&, and the type appears throughout the examples and docs. Renaming is a breaking change; options include:
Rename to thread_pool_context or threaded_context
Keep thread_pool and add an alias
Keep the name and document the "execution context that owns worker threads" framing where the confusion arises
Related: #395 (type renaming umbrella). If the naming pass there lands, this decision should ride along with it.
This discussion was converted from issue #412 on September 28, 2026 21:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
From the review result:
Source: Boost review result (conditional acceptance), Boost mailing list, September 2026.
The name is load-bearing:
get_system_context()returnsthread_pool&, and the type appears throughout the examples and docs. Renaming is a breaking change; options include:thread_pool_contextorthreaded_contextthread_pooland add an aliasRelated: #395 (type renaming umbrella). If the naming pass there lands, this decision should ride along with it.
All reactions