Keil Logo

System Resources

RTX kernel tasks are identified by their Task Control Block (TCB). This is a dynamically allocated block of memory where all task control and status variables are located. TCB is allocated at runtime when the task is created with the os_tsk_create or os_tsk_create_user function call.

The size of the TCB memory pool is defined in the RTX_Config.c configuration file, and it depends on the number of concurrent running tasks. This is not necessarily the number of defined tasks since multiple instances of a task are supported by the RTX kernel.

The RTX kernel also allocates the task its own stack. The stack is allocated at runtime after the TCB has been allocated. The pointer to the stack memory block is then written into the TCB.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.