Skip to content

Conversation

joelwurtz
Copy link
Contributor

Since on zts each thread gets its own globals (at the exception of sapi_module), i updated the lock to be on local thread (instead of static) so we can update / get globals without getting lock by another thread when in ZTS

@joelwurtz joelwurtz force-pushed the feat/avoid-global-lock branch from 5f4809c to 0b2f7e3 Compare March 22, 2025 13:58
Copy link
Collaborator

@Xenira Xenira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Only have one nitpick :)

@joelwurtz joelwurtz force-pushed the feat/avoid-global-lock branch from 0b2f7e3 to 992b938 Compare March 22, 2025 15:12
@joelwurtz joelwurtz force-pushed the feat/avoid-global-lock branch from 992b938 to 6b2128b Compare March 22, 2025 18:11
@Xenira Xenira merged commit 1de5826 into davidcole1340:master Mar 26, 2025
33 checks passed
@davidcole1340 davidcole1340 mentioned this pull request Mar 26, 2025
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.

2 participants