当前位置:网站首页>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 .
边栏推荐
- Redis source code -ziplist
- PreScan快速入门到精通第十九讲之PreScan执行器配置、轨迹同步及非配多个轨迹
- Dataframe first performs grouping operation and then combines output
- [tensorrt] dynamic batch reasoning
- 4. Server startup of source code analysis of Nacos configuration center
- [advanced mathematics] [6] differential calculus of multivariate functions
- Mobile web layout method
- [today in history] July 2: BitTorrent came out; The commercial system linspire was acquired; Sony deploys Playstation now
- Socket error Event: 32 Error: 10053. Connection closing...Socket close
- 4、Nacos 配置中心源码解析之 服务端启动
猜你喜欢

【高等数学】【4】不定积分

9.< tag-动态规划和子序列, 子数组>lt.718. 最长重复子数组 + lt.1143. 最长公共子序列
![[tensorrt] dynamic batch reasoning](/img/59/42ed0074de7162887bfe2c81891e20.png)
[tensorrt] dynamic batch reasoning

Prescan quick start to master Lesson 19: prescan actuator configuration, track synchronization and non configuration of multiple tracks

增加 swap 空间
![MySQL date [plus sign / +] condition filtering problem](/img/86/aed048e27b3e0b0baa919204bc067c.png)
MySQL date [plus sign / +] condition filtering problem
![[advanced mathematics] [5] definite integral and its application](/img/b2/62748b7533982f2b864148e0857490.png)
[advanced mathematics] [5] definite integral and its application

Network protocol: TCP part2

9. < tag dynamic programming and subsequence, subarray> lt.718. Longest repeated subarray + lt.1143. Longest common subsequence

LeetCode通关:哈希表六连,这个还真有点简单
随机推荐
[advanced mathematics] [4] indefinite integral
10. < tag dynamic programming and subsequence, subarray> lt.53. maximum subarray and + lt.392. Judge subsequence DBC
[today in history] July 8: PostgreSQL release; SUSE acquires the largest service provider of k8s; Activision Blizzard merger
增加 swap 空间
Notes - record a cannotfinddatasourceexception: dynamic datasource can not find primary datasource problem solving
第六章 修改规范(SPEC)类
【高等数学】【6】多元函数微分学
笔记——记录一个CannotFindDataSourceException: dynamic-datasource can not find primary datasource问题解决
[today in history] July 1: the father of time-sharing system was born; Alipay launched barcode payment; The first TV advertisement in the world
JS作用域与作用域链
"Share" devaxpress asp Net v22.1 latest version system environment configuration requirements
[onnx] export pytorch model to onnx format: support multi parameter and dynamic input
Technology cloud report: more than zero trust, the wild hope of Parra's "Digital Security Cloud strategy"
Docker 搭建 Redis Cluster集群
谷歌Pixel 6a屏下指纹扫描仪存在重大安全漏洞
毕业从事弱电3个月,我为什么会选择转行网络工程师
[tensorrt] dynamic batch reasoning
FormatDateTime说解[通俗易懂]
Behind every piece of information you collect, you can't live without TA
「分享」DevExpress ASP.NET v22.1最新版本系统环境配置要求