On Mon, 30 Aug 2010 17:10:33 -0600, Alex Rousskov
<[email protected]> wrote:
> Added safe HttpMsg pointer wrapper that locks and unlocks the message.
> 
> This class will not be needed if we switch to refcounting HttpMsg. 
> Meanwhile, it allows to pass message pointers in AsyncCalls and avoid 
> auto_ptr<> in exception-sensitive code.
> 
> ---------
> 
> I am considering making the HttpMsgPointerT::lock() and unlock() methods

> protected because it would be difficult for the caller to use them 
> correctly and because it is probably not necessary for the caller to use

> them at all.

Indeed. The closer to RefCount these can behave the better for that future
transition.

Amos

Reply via email to