From patchwork Tue Aug 25 00:14:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 52653 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 42E6422DD4 for ; Tue, 25 Aug 2015 00:15:31 +0000 (UTC) Received: by lbcli1 with SMTP id li1sf45545704lbc.2 for ; Mon, 24 Aug 2015 17:15:30 -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=Q1C0Wpe67OdlukIB1ta8Xzk7Cj6PolcLE5lzR5P9uGI=; b=gdVTlk/H1BbHPrs9aaRpsupx2MffyPV62s94cyg6ETygU6SKs9v+AXclvrORK8vaRm ZpLlIGPKRFxSFtNcGvN5dJAFOkBV2bPXowSQVlfoOesWCL8A5GhAZAtiB/46ZsziI5HD sOk7udVG4qWfqNumWOpbPQWlkid2wHqTWtn7Qyz+zqxWJ6+VzysURa3BE9Ls1BJRAfcA rRMzcGsstWJm2LLtPTFBueTD48g3EVIz3e528wmV2b6Qir4noEfsAO4jqg/hkIMAloJT dZam+13tezQ+RebCVjbrC+Loj8pKRTmyiK5N3afYhTgmcAPxw65k+uJf0snhsP5A4Zmp Ay8w== X-Gm-Message-State: ALoCoQkNQrxCfNbvAPQ6J6f0e6c7Yi7oc7hH0wWdbD/r3NmDAywmUVkS9tgvwo5BefCvtDG2WA8v X-Received: by 10.180.12.205 with SMTP id a13mr6214223wic.4.1440461730241; Mon, 24 Aug 2015 17:15:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.225 with SMTP id o1ls509871lag.36.gmail; Mon, 24 Aug 2015 17:15:30 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr22209890lbc.41.1440461730075; Mon, 24 Aug 2015 17:15:30 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id uj8si14628477lbb.22.2015.08.24.17.15.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 17:15:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by labgv11 with SMTP id gv11so20188566lab.2 for ; Mon, 24 Aug 2015 17:15:30 -0700 (PDT) X-Received: by 10.152.22.133 with SMTP id d5mr22643487laf.112.1440461729950; Mon, 24 Aug 2015 17:15:29 -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.162.200 with SMTP id yc8csp2810690lbb; Mon, 24 Aug 2015 17:15:28 -0700 (PDT) X-Received: by 10.51.17.34 with SMTP id gb2mr16190963igd.56.1440461728826; Mon, 24 Aug 2015 17:15:28 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 10si8688848ioo.12.2015.08.24.17.15.27; Mon, 24 Aug 2015 17:15:28 -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 CDA3461B2E; Tue, 25 Aug 2015 00:15:27 +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 2A0D161F17; Tue, 25 Aug 2015 00:14:44 +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 7149661F10; Tue, 25 Aug 2015 00:14:39 +0000 (UTC) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) by lists.linaro.org (Postfix) with ESMTPS id 2F96161F06 for ; Tue, 25 Aug 2015 00:14:38 +0000 (UTC) Received: by obbwr7 with SMTP id wr7so128547224obb.2 for ; Mon, 24 Aug 2015 17:14:37 -0700 (PDT) X-Received: by 10.60.70.104 with SMTP id l8mr23441531oeu.37.1440461677538; Mon, 24 Aug 2015 17:14:37 -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 p10sm11084442oev.0.2015.08.24.17.14.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Aug 2015 17:14:37 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Mon, 24 Aug 2015 19:14:19 -0500 Message-Id: <1440461669-18578-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1440461669-18578-1-git-send-email-bill.fischofer@linaro.org> References: <1440461669-18578-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 01/11] api: schedule: remove obsolete APIs 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.215.47 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 Remove the following API definitions: odp_schedule_olock_init() odp_schedule_olock_lock() odp_schedule_olock_unlock() Signed-off-by: Bill Fischofer --- include/odp/api/schedule.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/include/odp/api/schedule.h b/include/odp/api/schedule.h index 36e52cd..1131f8e 100644 --- a/include/odp/api/schedule.h +++ b/include/odp/api/schedule.h @@ -220,43 +220,6 @@ odp_schedule_group_t odp_schedule_group_create(const char *name, int odp_schedule_group_destroy(odp_schedule_group_t group); /** - * Initialize ordered context lock - * - * Initialize an ordered queue context lock. The lock can be associated only - * with ordered queues and used only within an ordered synchronization context. - * - * @param queue Ordered queue - * @param lock Ordered context lock - * - * @retval 0 on success - * @retval <0 on failure - */ -int odp_schedule_olock_init(odp_queue_t queue, odp_schedule_olock_t *lock); - -/** - * Acquire ordered context lock - * - * This call is valid only when holding an ordered synchronization context. The - * lock is used to protect a critical section that is executed within an - * ordered context. Threads enter the critical section in the order determined - * by the context (source queue). Lock ordering is automatically skipped for - * threads that release the context instead of calling the lock. - * - * @param lock Ordered context lock - */ -void odp_schedule_olock_lock(odp_schedule_olock_t *lock); - -/** - * Release ordered context lock - * - * This call is valid only when holding an ordered synchronization context. - * Release a previously locked ordered context lock. - * - * @param lock Ordered context lock - */ -void odp_schedule_olock_unlock(odp_schedule_olock_t *lock); - -/** * @} */