ABSTRACT

A Real-time Operating Systems must provide a variety of services to the developer of real-time embedded systems. These services allow the developer to create, manipulate, and manage system resources and entities in order to facilitate application development. This chapter reviews the services and components that are available with ThreadX. Threads within a process share the same memory space, but each thread must have its own stack. Threads are the essential building blocks because they contain most of the application programming logic. The thread entry input is a value that is passed to the thread entry function when it first executes. The use for the thread entry input value is determined exclusively by the developer. Allocations from a memory byte pool are based on a specified number of bytes. Priority inheritance allows a lower-priority thread to temporarily assume the priority of a higher-priority thread that is waiting for a mutex owned by the lower-priority thread.