Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-117657: Using critical section to make _socket.socket.close thread safe#120490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
encukou merged 1 commit intopython:mainfromaisk:sock-close-race
Jul 1, 2024

Conversation

@aisk
Copy link
Contributor

@aiskaisk commentedJun 14, 2024
edited by bedevere-appbot
Loading

This function has a temporary variablefd which will be fetched and stored from or to_socket.socket.fd, so using critical section to make it thread safe with free-threads build.

Fidget-Spinner reacted with thumbs up emoji
@aiskaisk changed the titleUsing critical section to make _socket.socket.close thread safegh-117657: Using critical section to make _socket.socket.close thread safeJun 14, 2024
@Fidget-Spinner
Copy link
Member

Will wait some time for someone else to give a review if they want to.

aisk reacted with heart emoji

Copy link
Member

@encukouencukou left a comment

Choose a reason for hiding this comment

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

It looks straightforward to me :)

@encukouencukou merged commit8a51767 intopython:mainJul 1, 2024
@aiskaisk deleted the sock-close-race branchJuly 1, 2024 16:56
Akasurde pushed a commit to Akasurde/cpython that referenced this pull requestJul 3, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull requestJul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@encukouencukouencukou approved these changes

@Fidget-SpinnerFidget-SpinnerFidget-Spinner approved these changes

@kumaraditya303kumaraditya303kumaraditya303 approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@aisk@Fidget-Spinner@encukou@kumaraditya303

[8]ページ先頭

©2009-2025 Movatter.jp