diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2018-01-29 20:37:09 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-01-29 20:37:09 (GMT) |
commit | 72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c (patch) | |
tree | dce812414bdc6029522a92a6afd10dd00fdc8f06 /Include/internal | |
parent | 0cd6bca65519109a8a7862d38ba1b8924e432a16 (diff) | |
download | cpython-72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c.zip cpython-72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c.tar.gz cpython-72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c.tar.bz2 |
bpo-31356: Add context manager to temporarily disable GC (GH-4224)
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/mem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/mem.h b/Include/internal/mem.h index a731e30..4a84b4a 100644 --- a/Include/internal/mem.h +++ b/Include/internal/mem.h @@ -116,6 +116,7 @@ struct _gc_runtime_state { int enabled; int debug; + long disabled_threads; /* linked lists of container objects */ struct gc_generation generations[NUM_GENERATIONS]; PyGC_Head *generation0; |