GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Implement biased reference counting in `--disable-gil` builds · Issue #110481 · python/cpython Closed Labels 3.13only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement DescriptionFeature or enhancementCPython's current reference counting implementation would not be thread-safe without the GIL. In This will require changing the struct _object { uintptr_t ob_tid; uint16_t _padding; uint8_t ob_mutex; uint8_t ob_gc_bits; uint32_t ob_ref_local; Py_ssize_t ob_ref_shared; PyTypeObject *ob_type; }; Not all the fields will be used immediately, but it will be easier to include them as part of implementing this change. I intend to split the implementation across (at least) two PRs to make it easier to review.
The inter-thread queue is needed eventually (before actually disabling the GIL), but since the Linked PRs
Reacted by Donghee Na, An Long, Michael Droettboom and Gregory P. Smith Reacted by stonebig, jon-chuang, Vladimir and Amuthan Mannar Reacted by Dima Tisnek Activity
MetadataMetadataAssigneesLabels3.13only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — 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. |