Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Oct 22, 2025 · Fundamentals

Unlock Embedded Power: Deep Dive into RT-Thread RTOS Core Libraries

RT-Thread, a Chinese open‑source real‑time operating system, offers a highly scalable kernel, rich component ecosystem, and modular design; this article examines its core libraries, module classifications, typical IoT and industrial applications, and provides detailed C code examples for thread management, synchronization, device drivers, file systems, and networking.

C ProgrammingIoTRT-Thread
0 likes · 11 min read
Unlock Embedded Power: Deep Dive into RT-Thread RTOS Core Libraries
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 11, 2022 · Operations

Linux Real-Time Thread CPU Selection Process

The article details Linux’s real‑time thread CPU‑selection process, explaining how priorities (0‑99 for rt, 100‑139 for CFS) set the sched_class, how functions like select_task_rq_rt, find_lowest_rq, cpupri_find_fitness and __cpupri_find build a candidate CPU mask, and how the final CPU is chosen by previous affinity, domain order, wake‑up CPU or random selection, while warning that excessive rt tasks can increase power use and cause scheduling delays.

CPU SelectionLinuxRT-Thread
0 likes · 10 min read
Linux Real-Time Thread CPU Selection Process