[ 
https://issues.apache.org/jira/browse/TS-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070620#comment-14070620
 ] 

ASF subversion and git services commented on TS-2943:
-----------------------------------------------------

Commit 9a80e875770a33044ac0cd80662680a5688c3952 in trafficserver's branch 
refs/heads/master from [~amc]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=9a80e87 ]

TS-2943: Add scoped resource class.


> Add scoped resource class to help clean up resource leaks.
> ----------------------------------------------------------
>
>                 Key: TS-2943
>                 URL: https://issues.apache.org/jira/browse/TS-2943
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Alan M. Carroll
>         Attachments: ts-2943.diff
>
>
> Create a set of template classes to handle contingently allocated resources 
> in a cleaner and more robust way. This holds the resource and destroys it if 
> it goes out of scope, with the ability to release the resource after all 
> contingent checks have been done. It is modeled on the current xptr class but 
> with more generality and better naming.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to