[RTEMS Project] #3835: Support statically allocated threads

RTEMS trac trac at rtems.org
Mon Dec 9 09:09:11 UTC 2019


#3835: Support statically allocated threads
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  enhancement      |     Status:  assigned
  Priority:  normal           |  Milestone:  5.1
 Component:  score            |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+-----------------------------
 In some applications it is desirable to have statically allocated
 resources for all operating system objects.

 In addition to the thread control block, up to four memory areas are
 currently allocated by a thread:

 1. stack area

 2. TLS area

 3. FP context

 4. thread queue heads

 Currently the FP context and the TLS area are separately allocated from
 the workspace. This complicates the workspace size estimate. Add the FP
 context and TLS size to the stack size and place them in the stack area.
 This makes it also possible to move the stack area allocation out of
 _Thread_Initialize(). Use a hook to get the thread queue heads which is
 configured depending on the unlimited objects option of the configuration.

--
Ticket URL: <http://devel.rtems.org/ticket/3835>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list