Skip to content

Conversation

@sjanc
Copy link
Contributor

@sjanc sjanc commented Nov 26, 2025

Main goal here to cleanup how locking is being done in L2CAP code:

  • avoid double/nested locking
  • avoid lock-unlock-lock pattern due to public API calls from internal code
  • provide _nolock variants to be used internally
  • public API is locked wrapper around _nolock private API
  • avoid locking in FOO and unlocking in BAR function for code clarify

@github-actions github-actions bot added host size/M Medium PR labels Nov 26, 2025
@sjanc sjanc force-pushed the l2cap_coc_lock branch 3 times, most recently from 0525578 to e318c2d Compare November 27, 2025 09:52
Main goal here to cleanup how locking is being done in L2CAP code:
 - avoid double/nested locking
 - avoid lock-unlock-lock pattern due to public API calls from
   internal code
 - provide _nolock variants to be used internally
 - public API is locked wrapper around _nolock private API
 - avoid locking in FOO and unlocking in BAR function for code clarify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant