Re: [Python-Dev] PEP 554 v3 (new interpreters module)

2017年10月02日 19:20:44 -0700

On Mon, Oct 2, 2017 at 9:31 PM, Eric Snow <[email protected]> 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
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to