From patchwork Sun Sep 6 02:50:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 53159 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 9784720A78 for ; Sun, 6 Sep 2015 02:52:18 +0000 (UTC) Received: by lanb10 with SMTP id b10sf17526741lan.3 for ; Sat, 05 Sep 2015 19:52:17 -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=h0Fx6ioY/franQyRIR25/8pJNrDAwHNy6YWsDeWMuKdVu2V4jdSlusXxqnb4eeIo7B V6WIzV8kapHkjdc9jLqWOPXq+snx8O/OytqpvQxQfpOHZkdY7UEfXnId4yjyzQc8zhUE XHAzXz6XZEX0a2BDqXF1nL3wZEKJ3eBadbkNtE3kaOvrHwSGuxm+wp5wFYr4UGq4Hywg uouwg9gHh7moDNFxGV3OMV/gjh/dxWwHDPHc3XE/zj5QSy+rwyhSO7xy4HmAVIpqi2zC BZw9mKgc5H+4T8bfBUggwY+vf56VHhBbdnJ53pvaNAHM1raSJA+NTwvjYKyg0kVjevKb v9gQ== X-Gm-Message-State: ALoCoQkQacx+Gs/9m8I9f9yxCaLynG+XLW7FnFT4JjuCL/Jswdp764AJZ6byEjY3kqet/RTtHlZ6 X-Received: by 10.180.100.71 with SMTP id ew7mr3197741wib.0.1441507937556; Sat, 05 Sep 2015 19:52:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.202 with SMTP id p10ls453646lae.95.gmail; Sat, 05 Sep 2015 19:52:17 -0700 (PDT) X-Received: by 10.152.6.3 with SMTP id w3mr10022505law.30.1441507937394; Sat, 05 Sep 2015 19:52:17 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id pp10si6781104lbc.132.2015.09.05.19.52.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2015 19:52:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbcjc2 with SMTP id jc2so26268196lbc.0 for ; Sat, 05 Sep 2015 19:52:17 -0700 (PDT) X-Received: by 10.152.18.164 with SMTP id x4mr11164925lad.35.1441507937253; Sat, 05 Sep 2015 19:52:17 -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.164.42 with SMTP id yn10csp772177lbb; Sat, 5 Sep 2015 19:52:16 -0700 (PDT) X-Received: by 10.50.72.100 with SMTP id c4mr20138452igv.95.1441507936308; Sat, 05 Sep 2015 19:52:16 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 131si280279iof.152.2015.09.05.19.52.12; Sat, 05 Sep 2015 19:52:16 -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 7EC2061CA1; Sun, 6 Sep 2015 02:52:12 +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_H2, 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 6361061D0D; Sun, 6 Sep 2015 02:50:41 +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 AA43F61BAF; Sun, 6 Sep 2015 02:50:33 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by lists.linaro.org (Postfix) with ESMTPS id 7203061A35 for ; Sun, 6 Sep 2015 02:50:32 +0000 (UTC) Received: by oiev17 with SMTP id v17so29759844oie.1 for ; Sat, 05 Sep 2015 19:50:32 -0700 (PDT) X-Received: by 10.202.207.197 with SMTP id f188mr8658020oig.90.1441507831815; Sat, 05 Sep 2015 19:50:31 -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 k187sm4558263oia.18.2015.09.05.19.50.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Sep 2015 19:50:31 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sat, 5 Sep 2015 21:50:22 -0500 Message-Id: <1441507824-16437-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441507824-16437-1-git-send-email-bill.fischofer@linaro.org> References: <1441507824-16437-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 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.181 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; /**