Skip to content

checklocks: enforce signal helper contracts - #14329

Open
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-signal-handlers
Open

checklocks: enforce signal helper contracts#14329
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-signal-handlers

Conversation

@tamird

@tamird tamird commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Require the existing signal-handler mutex in seven task and handler helpers. Preserve task-goroutine, stop-state and signal-mask conditions.

Document private initialization of copied action maps and the signal mutex protecting realSignalMask from remote signal readers. Retain the dynamic handler-locking and pending-signal ownership protocols without changing locks, callbacks, or lock-free reads.

Assisted-by: Codex

Require the existing signal-handler mutex in seven task and handler
helpers. Preserve task-goroutine, stop-state and signal-mask conditions.

Document private initialization of copied action maps and the signal
mutex protecting realSignalMask from remote signal readers. Retain the
dynamic handler-locking and pending-signal ownership protocols without
changing locks, callbacks, or lock-free reads.

Assisted-by: Codex
@tamird

tamird commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

r? @shailend-g Could you review signal-helper mutex contracts and task/stop-state preconditions?

Focused local Bazel checks passed. Upstream checks are pending.

Assisted-by: Codex

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.

1 participant