Document thread-safety caveat for get_outstanding_allocations()#2418
Document thread-safety caveat for get_outstanding_allocations()#2418rpathade wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughSummary by CodeRabbitRelease Notes
WalkthroughUpdated Doxygen documentation for ChangesOutstanding Allocations Thread-safety Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Description
Closes #2395
Add
@warningDoxygen comments toget_outstanding_allocations()in both the public and impl headers, noting that the returned reference is a view of internal mutable state and is only safe when the caller ensures no concurrent allocations or deallocations.This implements Option 1 from the issue (Document Caller Synchronization).
Checklist