The design and implementation of the RT-thread operating system /
Since the release of V0.01 in 2006, to the present V4.0 version, RT-Thread has developed a reputation among developers for its open source strategy. RT-Thread has gained a large following among members of the embedded open source community in China with hundreds of thousands of enthusiasts. RT-Threa...
| Main Authors: | , , |
|---|---|
| Corporate Author: | |
| Format: | eBook |
| Language: | English |
| Published: |
Boca Raton, FL :
CRC Press,
2020.
|
| Edition: | First edition. |
| Subjects: | |
| Online Access: | Connect to the full text of this electronic book |
Table of Contents:
- Cover
- Half Title
- Title Page
- Copyright Page
- Contents
- Preface
- Acknowledgments
- Authors
- Chapter 1: Embedded Real-Time Operating System
- Embedded System
- Real-Time System
- Soft Real Time and Hard Real Time
- Embedded Real-Time Operating System
- Mainstream Embedded Real-Time Operating System
- Trend of Development
- Chapter Summary
- Chapter 2: RT-Thread Introduction
- RT-Thread Overview
- License Agreement
- RT-Thread Architecture
- Access to RT-Thread
- License
- Get the Source Code
- Getting Started
- First Glance at RT-Thread
- LED Sample
- Chapter Summary
- Chapter 3: Kernel Basics
- Introduction to RT-Thread Kernel
- Thread Scheduling
- Clock Management
- Synchronization Between Threads
- Inter-Thread Communication
- Memory Management
- I/O Device Management
- RT-Thread Startup Process
- RT-Thread Program Memory Distribution
- RT-Thread Automatic Initialization Mechanism
- RT-Thread Kernel Object Model
- Static and Dynamic Objects
- Kernel Object Management Structure
- Object Control Block
- Kernel Object Management
- Initialization Object
- Detach Object
- Allocate Object
- Delete Object
- Identify Objects
- RT-Thread Kernel Configuration Example
- Common Macro Definition Description
- Chapter Summary
- Chapter 4: Thread Management
- Thread Management Features
- Working Mechanism of Thread
- Thread Control Block
- Important Attributes of Thread
- Thread Stack
- Thread State
- Thread Priority
- Time Slice
- Thread Entry Function
- Thread Error Code
- Switching Thread State
- System Thread
- Idle Thread
- Main Thread
- Thread Management
- Create and Delete Thread
- Initialize and Detach Thread
- Start Thread
- Obtaining Current Thread
- Making Thread Release Processor Resources
- Thread Sleep
- Suspend and Resume Thread
- Control Thread
- Set and Delete Idle Hooks
- Set the Scheduler Hook
- Thread Application Sample
- Create Thread Sample
- Thread Time Slice Round-Robin Scheduling Sample
- Thread Scheduler Hook Sample
- Chapter Summary
- Chapter 5: Clock Management
- Clock Tick (OS Tick)
- Clock Tick Implementation
- Obtain a Clock Tick
- Timer Management
- RT-Thread Timer Introduction
- HARD_TIMER Mode
- SOFT_TIMER Mode
- Timer Working Mechanism
- Timer Control Block
- Timer Skip List Algorithm
- Timer Management
- Create and Delete a Timer
- Initialize and Detach a Timer
- Start and Stop a Timer
- Control Timer
- Timer Application Sample
- High-Precision Delay
- Chapter Summary
- Chapter 6: Inter-Thread Synchronization
- Semaphore
- Semaphore Working Mechanism
- Semaphore Control Block
- Semaphore Management
- Create and Delete a Semaphore
- Initialize and Detach a Semaphore
- Obtain Semaphore
- Obtain Semaphore without Waiting
- Release Semaphore
- Semaphore Application Sample
- Semaphore Usage Scenario
- Thread Synchronization
- Lock
- Synchronization between Thread and Interrupt
- Resource Count
- Mutex