[PATCH] Introduce _REENT_GLOBAL_STDIO_STREAMS

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jun 22 08:11:32 UTC 2017


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.



More information about the devel mailing list