Skip to content

docs(pool): document extend's non-reentrancy requirement - #385

Merged
tisonkun merged 1 commit into
apache:mainfrom
nanami-0713:docs/pool-extend-nonreentrancy
Oct 24, 2026
Merged

tisonkun merged 1 commit into
apache:mainfrom
nanami-0713:docs/pool-extend-nonreentrancy

Conversation

@nanami-0713

Copy link
Copy Markdown
Contributor

Summary

Document that Pool::extend consumes its iterator while the pool is locked, mirroring the existing non-reentrancy note on retain.

Closes #360.

@tisonkun tisonkun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! LGTM.

@tisonkun
tisonkun enabled auto-merge (squash) October 24, 2026 18:56
@tisonkun
tisonkun merged commit 7032574 into apache:main Oct 24, 2026
9 checks passed
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.

Pool::extend can deadlock when the iterator accesses the same pool Copy

2 participants