
Use ThreadX Byte and Block Memory Pools
Allocate memory in ThreadX with byte pools and fixed-size block pools, using tx_byte_allocate and tx_block_allocate, and choose by fragmentation and timing.
Tag
5 posts

Allocate memory in ThreadX with byte pools and fixed-size block pools, using tx_byte_allocate and tx_block_allocate, and choose by fragmentation and timing.

Pass messages, signal events and wait on several conditions in ThreadX with tx_queue, tx_semaphore and tx_event_flags calls, with an example.

Start two ThreadX threads on an STM32 with tx_kernel_enter, tx_application_define and tx_thread_create, and learn priorities, stacks, time slices and sleep.

Eclipse ThreadX is a small real-time kernel that began at Express Logic, became Azure RTOS, and moved to the Eclipse Foundation under an open license in 2023.

Learn Eclipse ThreadX and RTEMS side by side: history, thread and sync APIs, memory pools, builds, configuration and how to choose between them.