You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2019/03/05 21:30:00 UTC

[jira] [Closed] (PROTON-1577) c++ add uncounted wrapper for pn_xxx types

     [ https://issues.apache.org/jira/browse/PROTON-1577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway closed PROTON-1577.
-------------------------------
    Resolution: Won't Fix

> c++ add uncounted wrapper for pn_xxx types
> ------------------------------------------
>
>                 Key: PROTON-1577
>                 URL: https://issues.apache.org/jira/browse/PROTON-1577
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>
> Proton refcounting is not thread safe, so it is important internally to avoid accidental decref at an unsafe moment by the wrapper destructors. Provide an uncounted<T> wrapper template for internal use only, provides the same functions as the normal wrapper class but with no automatic refcounting



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org