qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stitcher <astitc...@redhat.com>
Subject Re: Review Request: Develop Asynchronous Store Interface for Qpid (v.2)
Date Fri, 02 Mar 2012 16:15:15 GMT
On Fri, 2012-03-02 at 10:58 -0500, Alan Conway wrote:
> ...
> 
> I am not keen on using plain pointers in the API, they make memory management 
> ambiguous and error prone. If we don't want to use boost, we should implement 
> our own ref-counting smart pointers for the API. We already have one such 
> implementation for the Handles in the qpid::messaging API we could use that or 
> duplicate it if we don't want to have dependencies from store plugins on the 
> messaging API

I said not to take the pointers too literally. The important point was
to avoid needing to pull in definitions for the Handles - our compile
times are horrendous already can we avoid pulling in any more
unnecessary header files?

Andrew



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message