From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id BA74E397241E for ; Thu, 21 May 2020 12:17:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BA74E397241E Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-188-I5fiWxxbPp6SpeYZdHhZYA-1; Thu, 21 May 2020 08:17:38 -0400 X-MC-Unique: I5fiWxxbPp6SpeYZdHhZYA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B13AA800053; Thu, 21 May 2020 12:17:37 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-114-30.ams2.redhat.com [10.36.114.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D9A8F2E19F; Thu, 21 May 2020 12:17:36 +0000 (UTC) From: Florian Weimer To: "Michael Kerrisk \(man-pages\)" Cc: libc-alpha@sourceware.org Subject: Re: [PATCH 2/2] manual: Document __libc_single_threaded References: <2c218c9ed9586ed5491f6fa08045d1e883b126c3.1589998207.git.fweimer@redhat.com> Date: Thu, 21 May 2020 14:17:35 +0200 In-Reply-To: (Michael Kerrisk's message of "Thu, 21 May 2020 09:52:18 +0200") Message-ID: <871rnd8otc.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-8.9 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_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2020 12:17:41 -0000 * Michael Kerrisk: >> +@deftypevar char __libc_single_threaded >> +@standards{GNU, sys/single_threaded.h} >> +This variable is non-zero if the current process is definitely >> +single-threaded. If it is zero, the process can be multi-threaded, > > s/can be/may be/ Fixed. >> +Several functions in @theglibc{} can change the value of the >> +@code{__libc_single_threaded} variable. For example, creating new >> +threads using the @code{pthread_create} or @code{thrd_create} function >> +sets the variable to false. This can also happen directly, say via a > > s/directly/indirectly/ ? Indeed, fixed. I'll repost a V2 once there are comments on the actual code. Thanks, Florian