From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 29342384189C for ; Wed, 8 Jun 2022 08:42:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 29342384189C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embedded-brains.de Received: from sslproxy02.your-server.de ([78.47.166.47]) by dedi548.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nyrHA-0009Od-K2 for newlib@sourceware.org; Wed, 08 Jun 2022 10:42:52 +0200 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy02.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nyrHA-000SOW-Hj for newlib@sourceware.org; Wed, 08 Jun 2022 10:42:52 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 281C24801A4 for ; Wed, 8 Jun 2022 10:42:52 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id pKSbuZXDs-yB for ; Wed, 8 Jun 2022 10:42:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id B8B104801B2 for ; Wed, 8 Jun 2022 10:42:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id I0HTohOs-3rb for ; Wed, 8 Jun 2022 10:42:51 +0200 (CEST) Received: from zimbra.eb.localhost (unknown [10.10.171.14]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 49A014801A4 for ; Wed, 8 Jun 2022 10:42:51 +0200 (CEST) From: Sebastian Huber To: newlib@sourceware.org Subject: [PATCH] Clarify struct _reent comment Date: Wed, 8 Jun 2022 10:42:47 +0200 Message-Id: <20220608084247.14531-1-sebastian.huber@embedded-brains.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.103.6/26565/Tue Jun 7 10:08:27 2022) X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 08:42:56 -0000 --- newlib/libc/include/sys/reent.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/re= ent.h index 64d76c27c..5d889b4a2 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -350,9 +350,10 @@ struct _rand48 { /* * struct _reent * - * This structure contains *all* globals needed by the library. + * This structure contains the thread-local objects needed by the librar= y. * It's raison d'etre is to facilitate threads by making all library rou= tines - * reentrant. IE: All state information is contained here. + * reentrant. The exit handler support and FILE maintenance use dedicat= ed + * global objects which are not included in this structure. */ =20 #ifdef _REENT_SMALL --=20 2.35.3