[PATCH 14/14] Add --enable-newlib-reent-thread-local option
Sebastian Huber
sebastian.huber@embedded-brains.de
Tue Jun 21 15:10:20 GMT 2022
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: sebastian.huber@embedded-brains.de
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/
More information about the Newlib
mailing list