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
{{ message }}
Repository navigation
Commit ff7e433
Browse filesBrowse the repository at this point in the historyBrowse files
docs: Add a concurrency section to AGENTS.md (#6009)
Two production ANRs in the Android SDK came from holding a lock across a
call that re-enters the SDK: finishing a span or transaction captures
synchronously on the calling thread and runs every event processor, and
those processors lock and call back into the component that is still
holding its own lock.
Write the rule down next to the exception-handling guidance, with the
snapshot-then-call pattern, the second-lock escape hatch for compound
operations that were only atomic because the lock spanned them, and the
volatile and single-read rules.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
0 commit comments