Skip to content

Commit 9a9d9f7

Browse files
committed
Using critical sections to make io.StringIO thread safe.
1 parent 14fd86a commit 9a9d9f7

File tree

6 files changed

+200
-24
lines changed

6 files changed

+200
-24
lines changed

Include/internal/pycore_global_objects_fini_generated.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_global_strings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ struct _Py_global_strings {
679679
STRUCT_FOR_ID(src_dir_fd)
680680
STRUCT_FOR_ID(stacklevel)
681681
STRUCT_FOR_ID(start)
682+
STRUCT_FOR_ID(state)
682683
STRUCT_FOR_ID(statement)
683684
STRUCT_FOR_ID(status)
684685
STRUCT_FOR_ID(stderr)

Include/internal/pycore_runtime_init_generated.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_unicodeobject_generated.h

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_io/clinic/stringio.c.h

Lines changed: 145 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)