Skip to content

docs: document io_context teardown precondition (#298)#307

Merged
mvandeberg merged 1 commit into
cppalliance:develop-2from
mvandeberg:pr/298-shutdown-docs
Jul 6, 2026
Merged

docs: document io_context teardown precondition (#298)#307
mvandeberg merged 1 commit into
cppalliance:develop-2from
mvandeberg:pr/298-shutdown-docs

Conversation

@mvandeberg

Copy link
Copy Markdown
Contributor

Document that an io_context must outlive every post/dispatch through its executor, that no thread may be inside a run variant at destruction, and that outstanding work must be drained before the context is destroyed. Added to the io_context class docstring, its executor's dispatch()/post() operations, and the I/O Context guide.

Document that an io_context must outlive every post/dispatch through its
executor, that no thread may be inside a run variant at destruction, and
that outstanding work must be drained before the context is destroyed.
Added to the io_context class docstring, its executor's dispatch()/post()
operations, and the I/O Context guide.
@cppalliance-bot

Copy link
Copy Markdown

An automated preview of the documentation is available at https://307.corosio.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-07-06 17:36:09 UTC

@mvandeberg mvandeberg merged commit 01a6b02 into cppalliance:develop-2 Jul 6, 2026
39 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Beast2 Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants