[RTEMS Project] #4560: Use thread-local storage for Newlib reentrancy objects

RTEMS trac trac at rtems.org
Thu Jul 21 05:15:06 UTC 2022


#4560: Use thread-local storage for Newlib reentrancy objects
-------------------------------------------+------------------------------
 Reporter:  Sebastian Huber                |       Owner:  Sebastian Huber
     Type:  project                        |      Status:  assigned
 Priority:  normal                         |   Milestone:  6.1
Component:  tool/newlib                    |     Version:  6
 Severity:  normal                         |  Resolution:
 Keywords:  SoC, newlib, executive, large  |  Blocked By:  4672
 Blocking:                                 |
-------------------------------------------+------------------------------

Comment (by Matt Joyce <matthew.joyce@…>):

 In [changeset:"6d4b390f99af0e9d5873a3cb8ebaccfa05cbe37b/rtems"
 6d4b390/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="6d4b390f99af0e9d5873a3cb8ebaccfa05cbe37b"
 Support _REENT_THREAD_LOCAL Newlib configuration

 In case the Newlib _REENT_THREAD_LOCAL configuration option is enabled,
 the
 struct _reent is not defined (there is only a forward declaration in
 <sys/reent.h>).  Instead, the usual members of struct _reent are available
 as
 dedicatd thread-local storage objects.

 Update #4560.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4560#comment:12>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list