Skip to content

Add thread safety context #403

Merged
ioquatix merged 2 commits intosocketry:mainfrom
whatisinternet:thread-safety-context
Jul 22, 2025
Merged

Add thread safety context #403
ioquatix merged 2 commits intosocketry:mainfrom
whatisinternet:thread-safety-context

Conversation

@whatisinternet
Copy link
Copy Markdown
Contributor

Adds to /context with thread safety and fiber safety suggestions. These have been tested with an AI agent against socketry/async.

Types of Changes

  • Documentation / AI context

Contribution

…nchronization was used

Moved some context higher e.g. threads vs fibers and added a section on
where ||= can be safe.

Tested against Async which passed as expected with the revisions.
@ioquatix ioquatix merged commit 691d7b6 into socketry:main Jul 22, 2025
35 of 38 checks passed
@ioquatix
Copy link
Copy Markdown
Member

This is super awesome, thanks!

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