From patchwork Wed Sep 16 11:51:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 53730 Return-Path: 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 patches.linaro.org (Postfix) with ESMTPS id AE02422A0D for ; Wed, 16 Sep 2015 11:53:47 +0000 (UTC) Received: by lbbmp1 with SMTP id mp1sf68342895lbb.2 for ; Wed, 16 Sep 2015 04:53:46 -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=hfLxvttVllnJUVbNgT7uhE0UaAj2TPJKRYjer8eslnA=; b=f7GYuo9w47BHpUWdxQDjhLog5W8ib1EmaV2hd07BRmOdf0TYJtiK/uQZqIiTxQKfTH UFmyNr3U+kqAK0sLXVhEuOykywCuIOcfhRuxUbwG2SEnYBiAtj0EuHiqKknmprUNRCMc UBH4QKXBRBVHKxwNOcKJWzZOwMI/x4xYkHzfgoZZBbo66akxIPQFrsAfXT5nvlTmYo0G DJ2/ixzEAyDQ68hs9Vh21PDvC8E7ENLriwLjFjW6rg2Z5KKoQisG3QNA6pYN/k4oVW1K tV/WcbXLZRJ0iQ5f+LSRsmTKk6SRzzfnlnfC352NoSwoEQTcqpBdJ93NknsEqJbpRTq2 p4dQ== X-Gm-Message-State: ALoCoQkBOze6WSfEFVnNbc1qCswcrMghheX5igqhL9ULI9k00GBfFRpwVosf6PYGmZC41Kv3o9YO X-Received: by 10.152.3.131 with SMTP id c3mr5386941lac.4.1442404426599; Wed, 16 Sep 2015 04:53:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.131 with SMTP id k3ls410774lah.20.gmail; Wed, 16 Sep 2015 04:53:46 -0700 (PDT) X-Received: by 10.112.17.105 with SMTP id n9mr21307642lbd.78.1442404426451; Wed, 16 Sep 2015 04:53:46 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id ud9si5164196lac.97.2015.09.16.04.53.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 04:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbbvu2 with SMTP id vu2so29682690lbb.0 for ; Wed, 16 Sep 2015 04:53:46 -0700 (PDT) X-Received: by 10.112.199.70 with SMTP id ji6mr28667427lbc.73.1442404426352; Wed, 16 Sep 2015 04:53:46 -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 w3csp2400794lbq; Wed, 16 Sep 2015 04:53:45 -0700 (PDT) X-Received: by 10.140.133.71 with SMTP id 68mr42460178qhf.85.1442404425347; Wed, 16 Sep 2015 04:53:45 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h36si21580480qgd.22.2015.09.16.04.53.44; Wed, 16 Sep 2015 04:53:45 -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 DDF1B62D52; Wed, 16 Sep 2015 11:53:43 +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 35FAC62D4A; Wed, 16 Sep 2015 11:52: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 D122362D42; Wed, 16 Sep 2015 11:52:11 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by lists.linaro.org (Postfix) with ESMTPS id CBC7462D28 for ; Wed, 16 Sep 2015 11:52:09 +0000 (UTC) Received: by oixx17 with SMTP id x17so122487546oix.0 for ; Wed, 16 Sep 2015 04:52:09 -0700 (PDT) X-Received: by 10.202.91.7 with SMTP id p7mr20768411oib.41.1442404329307; Wed, 16 Sep 2015 04:52:09 -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 fh3sm10912155obb.23.2015.09.16.04.52.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Sep 2015 04:52:08 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 16 Sep 2015 06:51:58 -0500 Message-Id: <1442404320-5130-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442404320-5130-1-git-send-email-bill.fischofer@linaro.org> References: <1442404320-5130-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv3 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.182 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..96d9028 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 */ + unsigned lock_count; /**< Ordered lock count for this queue */ } odp_schedule_param_t; /**