Skip to content

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Jun 7, 2023

We add the locks for the global atexit state, the global list of audit hooks, and the global allocators. The risk of a race is low in each case, but playing it safe mostly isn't a problem. (We do avoid using the allocator lock in performance-sensitive cases where the risk of a race is very, very low.)

@ericsnowcurrently ericsnowcurrently marked this pull request as ready for review June 7, 2023 23:15
@ericsnowcurrently
Copy link
Member Author

I've split this up into 3 PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants