You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Dave Watson (Updated) (JIRA)" <ji...@apache.org> on 2011/12/02 00:46:40 UTC

[jira] [Updated] (THRIFT-1444) FunctionRunner - add syntactic sugar to create shared_ptrs

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

Dave Watson updated THRIFT-1444:
--------------------------------

    Attachment: 0003-Thrift-FunctionRunner-add-syntactic-sugar-to-create-.patch
    
> FunctionRunner - add syntactic sugar to create shared_ptrs

> -----------------------------------------------------------
>
>                 Key: THRIFT-1444
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1444
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library
>            Reporter: Dave Watson
>            Priority: Minor
>         Attachments: 0003-Thrift-FunctionRunner-add-syntactic-sugar-to-create-.patch
>
>
> From e1a2d69c5e178675e40aee3f01dadfebf11ca07b Mon Sep 17 00:00:00 2001
> From: Mark Rabkin <mr...@fb.com>
> Date: Fri, 11 Jun 2010 21:44:13 +0000
> Subject: [PATCH 03/56] FunctionRunner - add syntactic sugar to create shared_ptrs
> Summary:
> For FunctionRunner, you used to have to do a really awkward and
> verbose looking thing like:
>    (...)->addTask(boost::shared_ptr<FunctionRunner>(new FunctionRunner(
>       ... args ... )));
> Now you can do:
>    (...)->addTask(FunctionRunner::create( ... args ... ));
> Reviewers: simpkins,dreiss
> CC: thrift-team@lists.facebook.com
> Test Plan: ran concurrency test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira