8000 gh-128277: make globals variables thread safe in socket module by kumaraditya303 · Pull Request #128286 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-128277: make globals variables thread safe in socket module #128286

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 31, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
8000 Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove ft_ macros
  • Loading branch information
kumaraditya303 committed Dec 31, 2024
commit 0b5b22f7cb704ba83e7284fadc192549c757957f
6 changes: 0 additions & 6 deletions Include/internal/pycore_pyatomic_ft_wrappers.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ extern "C" {
_Py_atomic_store_ullong_relaxed(&value, new_value)
#define FT_ATOMIC_LOAD_ULLONG_RELAXED(value) \
_Py_atomic_load_ullong_relaxed(&value)
#define FT_ATOMIC_STORE_INT64_RELAXED(value, new_value) \
_Py_atomic_store_int64_relaxed(&value, new_value)
#define FT_ATOMIC_LOAD_INT64_RELAXED(value) \
_Py_atomic_load_int64_relaxed(&value)

#else
#define FT_ATOMIC_LOAD_PTR(value) value
Expand Down Expand Up @@ -160,8 +156,6 @@ extern "C" {
#define FT_ATOMIC_STORE_LLONG_RELAXED(value, new_value) value = new_value
#define FT_ATOMIC_LOAD_ULLONG_RELAXED(value) value
#define FT_ATOMIC_STORE_ULLONG_RELAXED(value, new_value) value = new_value
#define FT_ATOMIC_LOAD_INT64_RELAXED(value) value
#define FT_ATOMIC_STORE_INT64_RELAXED(value, new_value) value = new_value

#endif

Expand Down
0