On 19/05/2021 10:23, Chris Johns wrote:
On 19 May 2021, at 5:28 pm, Sebastian Huber<[email protected]> 
 wrote:

I am not sure how the dependency chain can be fixed with the current struct 
_reent approach of Newlib. A modern approach would be to replace this structure 
with individual thread-local objects. This would be technically feasible, 
however, a lot of work.
Do you mean the _reent structure is expanded out into separate TLS elements?

Yes, something like:

thread_local int errno;

--
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/
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to