GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-120321: Fix TSan reported race in gen_clear_frame (gh-142995) · cocolato/cpython@91f4bbd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Objects
    • genobject.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Objects/genobject.c‎

Copy file name to clipboardExpand all lines: Objects/genobject.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ _PyGen_Finalize(PyObject *self)
153153
static void
154154
gen_clear_frame(PyGenObject *gen)
155155
{
156-
assert(gen->gi_frame_state == FRAME_CLEARED);
156+
assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
157157
_PyInterpreterFrame *frame = &gen->gi_iframe;
158158
frame->previous = NULL;
159159
_PyFrame_ClearExceptCode(frame);

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.