From patchwork Thu Feb 25 00:11:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 62849 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp2704116lbl; Wed, 24 Feb 2016 16:11:45 -0800 (PST) X-Received: by 10.140.42.137 with SMTP id c9mr20506624qga.5.1456359105703; Wed, 24 Feb 2016 16:11:45 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l90si5305105qge.69.2016.02.24.16.11.45; Wed, 24 Feb 2016 16:11:45 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 4EDF563013; Thu, 25 Feb 2016 00:11:45 +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 0C17F617E2; Thu, 25 Feb 2016 00:11:40 +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 0B1A76185D; Thu, 25 Feb 2016 00:11:37 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by lists.linaro.org (Postfix) with ESMTPS id 5E9A961753 for ; Thu, 25 Feb 2016 00:11:35 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id m82so29011330oif.1 for ; Wed, 24 Feb 2016 16:11:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lq4k3B3NBB4qSmWdsnuhJ1osOV7acWCWfe+qsOy2raY=; b=j6AFUm9Z4irCw064MWcKUARwWXGsEdtQHU4OehHhpayihrB7H5EzHPWmkoURj8vOiH /Y2GKNJr2MBZX61pLePSLjJAy6Maq90BcMJS0/Ni2OEGmuiQ8bXFTsPS8hsYwEyhs/ti dMk95alnkSJ+sDVQMeZeYM9fLgO703ymy77c5SkNci6EPKA+N7XXDOica0tH3C+oudZj Eg9NYejTUEAfqWnZyAu+3WYGvG4GdPvzxEH9YO/YuMU7HDFo4XxNrdQ55vmVNPaQ8mcJ r/zicFH9mAbraIIvGtDY9ID4ejhfmQIQiZdV09dF2tb9A0JMFFyYAEJgOWYrwSBTUYZ7 GJDw== X-Gm-Message-State: AG10YOSMpbS/DGZmbQFWD05ngZiz9IHHZYslLugeE7a+lAZbW1L+ad1e6jd7KgIoZiwrHKxGL+o= X-Received: by 10.202.206.66 with SMTP id e63mr33633360oig.88.1456359095015; Wed, 24 Feb 2016 16:11:35 -0800 (PST) Received: from Ubuntu15.localdomain (cpe-66-68-129-43.austin.res.rr.com. [66.68.129.43]) by smtp.gmail.com with ESMTPSA id yy7sm3499851obb.26.2016.02.24.16.11.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Feb 2016 16:11:34 -0800 (PST) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 24 Feb 2016 18:11:32 -0600 Message-Id: <1456359092-30724-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.5.0 X-Topics: patch Subject: [lng-odp] [PATCHv2] doc: userguide: add thread type description to odp_init_local() discussion X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" 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" This addresses Bug https://bugs.linaro.org/show_bug.cgi?id=2058 Signed-off-by: Bill Fischofer --- doc/users-guide/users-guide.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc index bbb53a7..68e9de5 100644 --- a/doc/users-guide/users-guide.adoc +++ b/doc/users-guide/users-guide.adoc @@ -498,9 +498,10 @@ suitable for the ODP API. Calling odp_init_global() establishes the ODP API framework and MUST be called before any other ODP API may be called. Note that it is only called once per application. Following global initialization, each thread in turn -calls 'odp_init_local()' is called. This establishes the local ODP thread +calls 'odp_init_local()'. This establishes the local ODP thread context for that thread and MUST be called before other ODP APIs may be -called by that thread. +called by that thread. The sole argument to this call is the _thread type_, +which is either +ODP_THREAD_WORKER+ or +ODP_THREAD_CONTROL+. === Shutdown Shutdown is the logical reverse of the initialization procedure, with