You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by rectang <gi...@git.apache.org> on 2016/03/03 04:40:12 UTC

[lucy-dev] [GitHub] lucy pull request: LUCY-292 Fix refcount order when overwriting.

GitHub user rectang opened a pull request:

    https://github.com/apache/lucy/pull/34

    LUCY-292 Fix refcount order when overwriting.

    When there's a possibility that a recounted value is overwriting itself,
    delay the decref until after any incref so that there is no way the
    refcount can fall to 0 prior to the incref.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rectang/lucy LUCY-292-decref-order

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucy/pull/34.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #34
    
----
commit 71c99cf69008b7742ffa41218574c308d9494e5f
Author: Marvin Humphrey <ma...@rectangular.com>
Date:   2016-03-03T03:32:06Z

    Fix refcount order when overwriting.
    
    When there's a possibility that a recounted value is overwriting itself,
    delay the decref until after any incref so that there is no way the
    refcount can fall to 0 prior to the incref.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[lucy-dev] [GitHub] lucy pull request: LUCY-292 Fix refcount order when overwriting.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/lucy/pull/34


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---