Skip to content

Move hidden-class lock initialisation earlier. - #430

Merged
davidchisnall merged 1 commit into
masterfrom
early-lock-init
Oct 13, 2026
Merged

davidchisnall merged 1 commit into
masterfrom
early-lock-init

Conversation

@davidchisnall

Copy link
Copy Markdown
Member

This is now done when the hidden class is created, before it's added to any global structure. This ensures that the lock is always available.

Fixes #424

This is now done when the hidden class is created, *before* it's added
to any global structure.  This ensures that the lock is always
available.

Fixes #424
@davidchisnall
davidchisnall merged commit fab3df2 into master Oct 13, 2026
91 checks passed
@davidchisnall
davidchisnall deleted the early-lock-init branch October 13, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Concurrent first @synchronized on an object can re-initialize a held mutex

1 participant