[Python-Dev] PEP 554 v3 (new interpreters module) (original) (raw)
Eric Snow ericsnowcurrently at gmail.com
Mon Oct 2 22:16:47 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 554 v3 (new interpreters module)
- Next message (by thread): [Python-Dev] PEP 554 v3 (new interpreters module)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Oct 2, 2017 at 9:31 PM, Eric Snow <ericsnowcurrently at gmail.com> wrote:
On DECREF there shouldn't be a problem except possibly with a small race between decrementing the refcount and checking for a refcount of 0. We could address that several different ways, including allowing the pending call to get queued only once (or being a noop the second time).
Alternately, the channel could own a reference and DECREF it in the owning interpreter once the refcount reaches 1.
-eric
- Previous message (by thread): [Python-Dev] PEP 554 v3 (new interpreters module)
- Next message (by thread): [Python-Dev] PEP 554 v3 (new interpreters module)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]