From patchwork Sat Sep 12 04:10:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 53508 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 8949B22B26 for ; Sat, 12 Sep 2015 04:12:35 +0000 (UTC) Received: by lbbti1 with SMTP id ti1sf30572380lbb.3 for ; Fri, 11 Sep 2015 21:12:33 -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=Z7D/jwzdiSfAQul3gn7JSm2gJFqD1bx/BYTFNYlK+WI=; b=iwDBC7Fw2ao+UjkLjF7p1mFjxPG0JsfuAFx4dB5+Mm4yVEHlFLUy7pNwBP532jlLUr MDAf4ZeK8ibD2AV5+jVvIl0xKqqY6bxosjYVKg6GX3HS5c1EWCVqE2bBVJvbmdfjBIFK lddyGDXchGAuSqksDdqx1TOVKQWyxGorvhv1k9C4YAno5leyQ6OH7ATtUnLloZ8Wn35Y b1sF/xfzCLan6Vh/47CZWzEuQQCVdA3o2w605efZDFlAh2xLBITQPP1whL02z3b+G2fT ctNloMbrlnQWTjtQDnrjgY+QPK03FLM41Vsw95gysIfGptF3hwXVkG6Slu8qGhKg+uQZ sHfA== X-Gm-Message-State: ALoCoQkPJXJODn9gJ4NTDdUuN/FYz4NXax0BCjYYQMIPLXNbm6T+jMAGuIpNtUv4kbIRP4JUYBn6 X-Received: by 10.152.27.10 with SMTP id p10mr580055lag.1.1442031153849; Fri, 11 Sep 2015 21:12:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.4.11 with SMTP id ca11ls234632lad.38.gmail; Fri, 11 Sep 2015 21:12:33 -0700 (PDT) X-Received: by 10.112.147.135 with SMTP id tk7mr2074941lbb.100.1442031153696; Fri, 11 Sep 2015 21:12:33 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id g9si2145788lab.172.2015.09.11.21.12.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 21:12:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbpo4 with SMTP id o4so48391664lbp.2 for ; Fri, 11 Sep 2015 21:12:33 -0700 (PDT) X-Received: by 10.112.151.106 with SMTP id up10mr2068577lbb.106.1442031153581; Fri, 11 Sep 2015 21:12:33 -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.59.35 with SMTP id w3csp27819lbq; Fri, 11 Sep 2015 21:12:32 -0700 (PDT) X-Received: by 10.140.145.145 with SMTP id 139mr3799047qhr.100.1442031152757; Fri, 11 Sep 2015 21:12:32 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 70si2972461qhd.6.2015.09.11.21.12.02; Fri, 11 Sep 2015 21:12:32 -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 8D3A362C2B; Sat, 12 Sep 2015 04:12:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 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 [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 9193162C2F; Sat, 12 Sep 2015 04:10:37 +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 28E9A62C29; Sat, 12 Sep 2015 04:10:30 +0000 (UTC) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by lists.linaro.org (Postfix) with ESMTPS id 04B5D62C22 for ; Sat, 12 Sep 2015 04:10:29 +0000 (UTC) Received: by obbbh8 with SMTP id bh8so75175524obb.0 for ; Fri, 11 Sep 2015 21:10:28 -0700 (PDT) X-Received: by 10.182.97.97 with SMTP id dz1mr1828771obb.17.1442031028560; Fri, 11 Sep 2015 21:10:28 -0700 (PDT) Received: from Ubuntu15.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by smtp.gmail.com with ESMTPSA id m133sm1745821oif.8.2015.09.11.21.10.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Sep 2015 21:10:28 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 11 Sep 2015 23:10:18 -0500 Message-Id: <1442031020-1907-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442031020-1907-1-git-send-email-bill.fischofer@linaro.org> References: <1442031020-1907-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 3/5] api: schedule: add lock_count to odp_schedule_param_t X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@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.217.169 as permitted sender) smtp.mailfrom=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 The lock_count is used to specify the number of ordered locks to be available for an ordered queue at odp_queue_create() time. Signed-off-by: Bill Fischofer --- include/odp/api/schedule_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/odp/api/schedule_types.h b/include/odp/api/schedule_types.h index f7526ee..e2ffde6 100644 --- a/include/odp/api/schedule_types.h +++ b/include/odp/api/schedule_types.h @@ -131,6 +131,8 @@ typedef struct odp_schedule_param_t { odp_schedule_sync_t sync; /** Thread group */ odp_schedule_group_t group; + /** Lock group */ + uint32_t lock_count; /**< Ordered lock count for this queue */ } odp_schedule_param_t; /**