当前位置:网站首页>Embedded development: embedded foundation -- threads and tasks
Embedded development: embedded foundation -- threads and tasks
2022-07-25 20:28:00 【Guangdong embedded Education】
32 The function of bit microcontroller is getting stronger , The cost is getting lower , This makes the real-time operating system become the main scheduler in many embedded systems . Although there are more than 100 different kinds in the market RTOS taste , But embedded developers sometimes struggle with basic terminology . Take threads and tasks for example , They are used as synonyms in many cases , But it means a slightly different concept .
ThreadX User guide page 5 Version defines embedded tasks as “ Semi independent parts of an application that perform specific tasks ” let me put it another way , Tasks are often high-level tasks performed by applications .“ Mission ” This word is often used in a general way , So that it is difficult to determine whether the developer refers to a program segment or a completely independent loadable program .

On the other hand , Threads are defined as “ Semi independent program segments executed in process ”. For embedded developers who use microcontrollers , A process is essentially the entire application running on the system . Thread is a small program , It has specific functions and uses in the whole application . Threads are often lower than the task level , The cost is also minimal .
Most people encounter RTOSes It may actually be a thread scheduler , Instead of task scheduler , But now many embedded developers just use these two terms interchangeably . I'm glad to know that there is a subtle difference .
边栏推荐
- Jmeter——接口测试
- JS作用域与作用域链
- [noi simulation] string matching (suffix automata Sam, Mo team, block)
- TGA file format (waveform sound file format)
- [Infographics Show] 248 Public Domain Name
- qml 结合 QSqlTableModel 动态加载数据 MVC「建议收藏」
- Formatdatetime explanation [easy to understand]
- Advantages of network virtualization of various manufacturers
- 103. (cesium chapter) cesium honeycomb diagram (square)
- Cloud native guide: what is cloud native infrastructure
猜你喜欢

PreScan快速入门到精通第十九讲之PreScan执行器配置、轨迹同步及非配多个轨迹

Network protocol: TCP part2
![[today in history] July 18: Intel was founded; The first photo was posted on the world wide web; EBay spins off PayPal](/img/7d/7a01c8c6923077d6c201bf1ae02c8c.png)
[today in history] July 18: Intel was founded; The first photo was posted on the world wide web; EBay spins off PayPal
![[today in history] July 15: Mozilla foundation was officially established; The first operation of Enigma cipher machine; Nintendo launches FC game console](/img/7d/7a01c8c6923077d6c201bf1ae02c8c.png)
[today in history] July 15: Mozilla foundation was officially established; The first operation of Enigma cipher machine; Nintendo launches FC game console
![[today in history] July 13: the father of database passed away; Apple buys cups code; IBM chip Alliance](/img/2d/c23a367c9e8e2806ffd5384de273d2.png)
[today in history] July 13: the father of database passed away; Apple buys cups code; IBM chip Alliance

FanoutExchange交换机代码教程
![[paper reading] unpaired image to image translation using cycle consistent advantageous networks](/img/73/69651dd8ecfdddd1cae13a1d223d51.png)
[paper reading] unpaired image to image translation using cycle consistent advantageous networks

4、Nacos 配置中心源码解析之 服务端启动
![MySQL date [plus sign / +] condition filtering problem](/img/86/aed048e27b3e0b0baa919204bc067c.png)
MySQL date [plus sign / +] condition filtering problem
![[today in history] July 17: Softbank acquired arm; The first email interruption; Wikimedia International Conference](/img/0f/8ce2d5487b16d38a152cfd3ab454bb.png)
[today in history] July 17: Softbank acquired arm; The first email interruption; Wikimedia International Conference
随机推荐
Learn FPGA from the bottom structure (16) -- customization and testing of pll/mmcm IP
使用cookie登录百度网盘(网站使用cookie)
Summarize the level of intelligent manufacturing discussion [macro understanding]
PreScan快速入门到精通第十九讲之PreScan执行器配置、轨迹同步及非配多个轨迹
Rand1 generates rand9
MySQL date [plus sign / +] condition filtering problem
[cloud native] use of Nacos taskmanager task management
[paper reading] unpaired image to image translation using cycle consistent advantageous networks
Principle analysis of bootloader
网络爬虫原理解析「建议收藏」
SecureCRT garbled code solution [easy to understand]
「分享」DevExpress ASP.NET v22.1最新版本系统环境配置要求
JVM(二十三) -- JVM运行时参数
Cloud native guide: what is cloud native infrastructure
Export and call of onnx file of pytorch model
[today in history] July 17: Softbank acquired arm; The first email interruption; Wikimedia International Conference
谷歌Pixel 6a屏下指纹扫描仪存在重大安全漏洞
[advanced mathematics] [4] indefinite integral
数据库清空表数据并让主键从1开始
Prescan quick start to master Lesson 19: prescan actuator configuration, track synchronization and non configuration of multiple tracks