public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Sebastian Huber <sh@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] Clarify struct _reent comment
Date: Wed,  8 Jun 2022 19:06:34 +0000 (GMT)	[thread overview]
Message-ID: <20220608190634.04F763810AD6@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=866f6c909faaaf6be39e5b4fab9d84c327fac0cb

commit 866f6c909faaaf6be39e5b4fab9d84c327fac0cb
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Wed Jun 8 10:41:05 2022 +0200

    Clarify struct _reent comment

Diff:
---
 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/reent.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 library.
  * It's raison d'etre is to facilitate threads by making all library routines
- * reentrant.  IE: All state information is contained here.
+ * reentrant.  The exit handler support and FILE maintenance use dedicated
+ * global objects which are not included in this structure.
  */
 
 #ifdef _REENT_SMALL


                 reply	other threads:[~2022-06-08 19:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220608190634.04F763810AD6@sourceware.org \
    --to=sh@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).