O'Reilly logo

Embedded Software Development with eCos™ by Anthony J. Massa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.1. Threads

A thread is a single flow of execution through a program. Multiple threads can exist in a program, allowing an individual thread to perform its own operations on the system. Each thread defined in the eCos system contains its own context or workspace to perform its operations and a priority level to execute. It is the job of the scheduler to determine which thread is entitled to run at any given time. The kernel contains API functions for controlling threads within an application.

eCos offers configuration options that control the behavior of threads in the system, as well as providing additional features to support various thread operations. Item List 6.1 details the thread configuration options available. These are located under ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required