[PATCH] Introduce _REENT_GLOBAL_STDIO_STREAMS

Joel Sherrill joel at rtems.org
Thu Jun 22 17:39:28 UTC 2017


On Thu, Jun 22, 2017 at 9:52 AM, Gedare Bloom <gedare at rtems.org> wrote:

> Submit to newlib ml. It looks like a reasonable thing to do if the
> newlib general maintainers agree with the use of the new option.
>

+1 This certainly should correct the odd behavior that people have seen.


>
> On Thu, Jun 22, 2017 at 4:11 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
> > The per-thread memory reduction is noticeable:
> >
> > (gdb) p sizeof(struct _reent)
> > $1 = 344
> > (gdb) p sizeof(__sf)
> > $2 = 384
> > (gdb)
> >
> > So, struct _reent is more than 50% smaller.
> >
> > --
> > Sebastian Huber, embedded brains GmbH
> >
> > Address : Dornierstr. 4, D-82178 Puchheim, Germany
> > Phone   : +49 89 189 47 41-16
> > Fax     : +49 89 189 47 41-09
> > E-Mail  : sebastian.huber at embedded-brains.de
> > PGP     : Public key available on request.
> >
> > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> >
> >
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170622/e2447bb8/attachment.html>


More information about the devel mailing list