Message ID | 1437063949-24456-9-git-send-email-stuart.haslam@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDW4DOG33ALBBO52T6WQKGQES4LPYCQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BFE3222A8A for <linaro@patches.linaro.org>; Thu, 16 Jul 2015 16:35:08 +0000 (UTC) Received: by lbbvz8 with SMTP id vz8sf19590444lbb.2 for <linaro@patches.linaro.org>; Thu, 16 Jul 2015 09:35:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=qVfpNT2egZisthqo5vT4+ZpNuqYZWVatc9Mdk5Vy5gc=; b=Xumbnd79etYybP6mLkACqHiQOs0q/BhQ/lVWpjbPK8JVnNnE0IuwKFo4jPZg0Z2BoK dzfiwDd7B5q6HDbPz/t/AIt8RaI88GlSC1MmMlaqyRQfTbFnDP/NRT7zd4RiJxm8By5H bHh5RIb0LKgOE0NddcYXqioX+GMTToGj8ymO8OKpFr22+hs2S1AaFp72TzgiW8/8Ym2M 0Ynl48UW7dD5TseNIIMWPwiBzP7HUVTczwE0QDyMmUIkUhykhR2nTALd97BxbDUePpTK 17Z5+EtVtKPlWwa6+MSFdjy9OC2Z/0LlekeDgKKRHEihY3aodZfnvtfHUl3jUtxQWI58 z97g== X-Gm-Message-State: ALoCoQmXY/A7aUycJflRzP2OA5F2oZdio6OzCEwzgW/CcWBU7g+CfqCxM8lTmFtPlt9mjoDbF9RE X-Received: by 10.112.171.41 with SMTP id ar9mr5340121lbc.24.1437064507774; Thu, 16 Jul 2015 09:35:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.134 with SMTP id c6ls401594lag.54.gmail; Thu, 16 Jul 2015 09:35:07 -0700 (PDT) X-Received: by 10.112.120.134 with SMTP id lc6mr10229065lbb.86.1437064507624; Thu, 16 Jul 2015 09:35:07 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id ls6si7395390lac.31.2015.07.16.09.35.07 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 09:35:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lagw2 with SMTP id w2so46774328lag.3 for <patchwork-forward@linaro.org>; Thu, 16 Jul 2015 09:35:07 -0700 (PDT) X-Received: by 10.152.1.66 with SMTP id 2mr10449048lak.56.1437064507365; Thu, 16 Jul 2015 09:35:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp366924lbb; Thu, 16 Jul 2015 09:35:06 -0700 (PDT) X-Received: by 10.140.85.208 with SMTP id n74mr18191010qgd.67.1437064505930; Thu, 16 Jul 2015 09:35:05 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 8si10195817qkv.54.2015.07.16.09.35.01; Thu, 16 Jul 2015 09:35:05 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 8DE02620B3; Thu, 16 Jul 2015 16:35:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id C674D620E2; Thu, 16 Jul 2015 16:27:19 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8224C620E0; Thu, 16 Jul 2015 16:27:15 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by lists.linaro.org (Postfix) with ESMTPS id CC1BF620B1 for <lng-odp@lists.linaro.org>; Thu, 16 Jul 2015 16:26:16 +0000 (UTC) Received: by widjy10 with SMTP id jy10so20435635wid.1 for <lng-odp@lists.linaro.org>; Thu, 16 Jul 2015 09:26:16 -0700 (PDT) X-Received: by 10.194.23.36 with SMTP id j4mr20629705wjf.105.1437063975795; Thu, 16 Jul 2015 09:26:15 -0700 (PDT) Received: from e106441.cambridge.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id be9sm13889153wjb.26.2015.07.16.09.26.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Jul 2015 09:26:15 -0700 (PDT) From: Stuart Haslam <stuart.haslam@linaro.org> To: lng-odp@lists.linaro.org Date: Thu, 16 Jul 2015 17:25:48 +0100 Message-Id: <1437063949-24456-9-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1437063949-24456-1-git-send-email-stuart.haslam@linaro.org> References: <1437063949-24456-1-git-send-email-stuart.haslam@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 8/9] validation: common: return number of threads created X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stuart.haslam@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c index 807325b..d995ad3 100644 --- a/test/validation/common/odp_cunit_common.c +++ b/test/validation/common/odp_cunit_common.c @@ -29,10 +29,9 @@ int odp_cunit_thread_create(void *func_ptr(void *), pthrd_arg *arg) /* Create and init additional threads */ odp_cpumask_def_worker(&cpumask, arg->numthrds); - odph_linux_pthread_create(thread_tbl, &cpumask, func_ptr, - (void *)arg); - return 0; + return odph_linux_pthread_create(thread_tbl, &cpumask, func_ptr, + (void *)arg); } /** exit from test thread */
odph_linux_pthread_create() now returns the number of threads created, so modify odp_cunit_thread_create() to do the same. Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> --- test/validation/common/odp_cunit_common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)