Re: [PATCH 14/14] Add --enable-newlib-reent-thread-local option

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hello Torbjorn,

On 21/06/2022 15:59, Torbjorn SVENSSON wrote:
> Just out of curiosity, how will this impact RTOSes like FreeRTOS?

the new option is disabled by default. So, there will be no impact on 
existing systems (unless we made a mistake in the patch set).

> Currently, FreeRTOS updates the impure_ptr to point to an instance of struct _reent that belongs to that particular task when the scheduler is switching task.
> 
> Seehttps://www.freertos.org/a00110.html#configUSE_NEWLIB_REENTRANT  andhttps://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/tasks.c#L2047  for details.

This will work as before. Using the new option for FreeRTOS could help 
to reduce the minimum storage foot print.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.