From patchwork Thu Feb 16 11:21:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 57981 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp243093wrn; Thu, 16 Feb 2023 03:27:55 -0800 (PST) X-Google-Smtp-Source: AK7set/FthvDDA7F6OdHvZZhavkoDGh034mGJre59WFN+Ez4T+vdQYvTDpx6P2xMGa6MSWndS6FJ X-Received: by 2002:a17:906:db0b:b0:8b1:4b44:30e0 with SMTP id xj11-20020a170906db0b00b008b14b4430e0mr2008206ejb.16.1676546875511; Thu, 16 Feb 2023 03:27:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676546875; cv=none; d=google.com; s=arc-20160816; b=iTZ4c3S6TJzCN982Hcyt7KygUM60GgonbNqN0sHZ9c9VTr3CpX2+jgUDpw3KoIirbf ljg7IPOUF7pvZf8y8fjFMoCsCD3HbzMFmne5CiAop1wDfVZ/1qtF3Cw22sgGt3zGOgSM NdHGTcDmcxRKkqpbE7E42rNr9OPn5FxAj+wkMUTS6FBiWNbvcQzQj9yPC2dt87rVYsRg gGBNLyakfa6HYnPwc0rnlcm0Ak0yEb4vY7NOs4XGGedqKbtI9OXzalsdxaJ3Ng/muRXb eTLdvWYDKWuHRgVA+MEQHKZq03CQ3BfcR8pyXrITuOBmld4aV0y5/45UpnlRLig5Uma8 Sy0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :resent-to:resent-message-id:resent-date:resent-from:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=UOD2LmatZmvCIjRv5QwnNXZpKcVX+8ZIXe869ts9qjM=; b=hXWP5PZMKaVDMgE/tcCQsJFIogRdACG9VVgwOe/dlOepz5pAQmGpwPxr9uVeAbFPo5 guUH3/nJSxJGlUB4Cnv/KcjysnmOzLsX/v+NwC8HR3o1ZoHdkqPxJHwxjJcT6fNLTkuX JmGsfjp+eYxYNE24yhahl+84UUdrrZuYwLnci51JXG/ulX8B2vcK3XmTc6zDCC+mGRGs S+7nDk/xc3qQAkgDYJZ1F8uBArVw6uEkmwU5Eea8ZF4qt+U0m+15p44APREjQB/gXdlz M9v7VVuODEJ8kJibytrkhOtxNW9RwAcd2Rb8eCfLrHx8V5H9va6stCK2kamOWGDbhPVj t1Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="h4HQYV/I"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id v13-20020a17090610cd00b008b13558195fsi2202306ejv.677.2023.02.16.03.27.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 03:27:55 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="h4HQYV/I"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 90A9B3858024 for ; Thu, 16 Feb 2023 11:27:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90A9B3858024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676546868; bh=UOD2LmatZmvCIjRv5QwnNXZpKcVX+8ZIXe869ts9qjM=; h=Resent-From:Resent-Date:Resent-To:Date:To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=h4HQYV/Ih65YR+NLCaJsLw8DOJ5kBlDCSzNBGSYl5SndP+LtM3zMsnBW5oT3euZeE wUeZh72yTWPF/k2Zh5jyy+VltR2e8eEWQUuy4WqjFUCbIo0bKx6+3ZZPNBv2ToYkrj xGPJzdIg/7m2ChrHvWzia7OxffJG4sS+q3WkzVTY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 87267385800A for ; Thu, 16 Feb 2023 11:27:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87267385800A Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-149-7pOn8fxPNzmju8_3E_jiPA-1; Thu, 16 Feb 2023 06:27:02 -0500 X-MC-Unique: 7pOn8fxPNzmju8_3E_jiPA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E11C5185A794 for ; Thu, 16 Feb 2023 11:27:01 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.211]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 82530C15BA0 for ; Thu, 16 Feb 2023 11:27:01 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 31GBQfVn2903482 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 16 Feb 2023 12:26:47 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 31GBQf0E2903481 for gcc-patches@gcc.gnu.org; Thu, 16 Feb 2023 12:26:41 +0100 Resent-From: Jakub Jelinek Resent-Date: Thu, 16 Feb 2023 12:26:41 +0100 Resent-Message-ID: Resent-To: gcc-patches@gcc.gnu.org Date: Thu, 16 Feb 2023 12:21:02 +0100 To: gcc-patches@gcc.gnu.org Subject: [committed] libgomp: Fix up some typos in libgomp.texi Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757986816629428584?= X-GMAIL-MSGID: =?utf-8?q?1757986816629428584?= Hi! I decided to check for repeated the the in libgomp and noticed there are several occurrences of a typo theads rather than threads in libgomp.texi. Tested on x86_64-linux, committed to trunk. 2023-02-16 Jakub Jelinek * libgomp.texi: Fix typos - theads -> threads. Jakub --- libgomp/libgomp.texi.jj 2023-02-04 06:19:06.984211708 +0100 +++ libgomp/libgomp.texi 2023-02-16 12:05:59.676732507 +0100 @@ -524,7 +524,7 @@ linkage, and do not throw exceptions. * omp_get_num_procs:: Number of processors online * omp_get_num_teams:: Number of teams * omp_get_num_threads:: Size of the active team -* omp_get_proc_bind:: Whether theads may be moved between CPUs +* omp_get_proc_bind:: Whether threads may be moved between CPUs * omp_get_schedule:: Obtain the runtime scheduling method * omp_get_supported_active_levels:: Maximum number of active regions supported * omp_get_team_num:: Get team number @@ -1031,7 +1031,7 @@ one thread per CPU online is used. @node omp_get_proc_bind -@section @code{omp_get_proc_bind} -- Whether theads may be moved between CPUs +@section @code{omp_get_proc_bind} -- Whether threads may be moved between CPUs @table @asis @item @emph{Description}: This functions returns the currently active thread affinity policy, which is @@ -1945,8 +1945,8 @@ beginning with @env{GOMP_} are GNU exten * OMP_NESTED:: Nested parallel regions * OMP_NUM_TEAMS:: Specifies the number of teams to use by teams region * OMP_NUM_THREADS:: Specifies the number of threads to use -* OMP_PROC_BIND:: Whether theads may be moved between CPUs -* OMP_PLACES:: Specifies on which CPUs the theads should be placed +* OMP_PROC_BIND:: Whether threads may be moved between CPUs +* OMP_PLACES:: Specifies on which CPUs the threads should be placed * OMP_STACKSIZE:: Set default thread stack size * OMP_SCHEDULE:: How threads are scheduled * OMP_TARGET_OFFLOAD:: Controls offloading behaviour @@ -2144,12 +2144,12 @@ nesting by default. If undefined one th @node OMP_PROC_BIND -@section @env{OMP_PROC_BIND} -- Whether theads may be moved between CPUs +@section @env{OMP_PROC_BIND} -- Whether threads may be moved between CPUs @cindex Environment Variable @table @asis @item @emph{Description}: Specifies whether threads may be moved between processors. If set to -@code{TRUE}, OpenMP theads should not be moved; if set to @code{FALSE} +@code{TRUE}, OpenMP threads should not be moved; if set to @code{FALSE} they may be moved. Alternatively, a comma separated list with the values @code{PRIMARY}, @code{MASTER}, @code{CLOSE} and @code{SPREAD} can be used to specify the thread affinity policy for the corresponding nesting @@ -2174,7 +2174,7 @@ When undefined, @env{OMP_PROC_BIND} defa @node OMP_PLACES -@section @env{OMP_PLACES} -- Specifies on which CPUs the theads should be placed +@section @env{OMP_PLACES} -- Specifies on which CPUs the threads should be placed @cindex Environment Variable @table @asis @item @emph{Description}: