Return-Path: X-Original-To: apmail-thrift-dev-archive@www.apache.org Delivered-To: apmail-thrift-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 201BF7570 for ; Thu, 1 Dec 2011 23:47:04 +0000 (UTC) Received: (qmail 26222 invoked by uid 500); 1 Dec 2011 23:47:03 -0000 Delivered-To: apmail-thrift-dev-archive@thrift.apache.org Received: (qmail 26160 invoked by uid 500); 1 Dec 2011 23:47:03 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 26022 invoked by uid 99); 1 Dec 2011 23:47:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 23:47:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 23:47:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4C39EAFADA for ; Thu, 1 Dec 2011 23:46:40 +0000 (UTC) Date: Thu, 1 Dec 2011 23:46:40 +0000 (UTC) From: "Dave Watson (Updated) (JIRA)" To: dev@thrift.apache.org Message-ID: <1022661050.33333.1322783200313.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1965153802.33331.1322783200261.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (THRIFT-1444) FunctionRunner - add syntactic sugar to create shared_ptrs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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 > 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(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