当前位置:网站首页>Os09 AUTOSAR OS event mechanism and example analysis
Os09 AUTOSAR OS event mechanism and example analysis
2022-07-22 14:41:00 【Automotive electronics and software development】
List of articles
Portal ==>> AutoSAR Practical series 300 speak 「 candy Autosar」 General catalogue
1 Event mechanism
As shown in the figure below , In embedded systems , Usually you need a synchronization mechanism , That is, a task is waiting for a specific event to happen ; If the event is ready , Synchronization signal sent by another task , Or send it to a task through an interrupt handler , That is, input from peripheral devices .
Events are proprietary signals assigned to any extended task . Multiple events can be assigned to the same task . A task may wait for one or more events , So as to enter the waiting state . Any task ( Basic or extended ) You can set events for any task . If the receiving task has been waiting for at least one of these events , This will cause the receiving task to enter the ready state .
There are the following precautions :
Extended tasks can support event waiting mechanism , If there is a waiting point , The task will be blocked , You must wait for the event to occur before continuing
The event can come from other tasks or from the interrupt service program Isr.<
边栏推荐
- Mysql語句的RegExp的用法與案例
- Daily question brushing record (30)
- What is the "asynchronous request reply" mode? How to realize programming?
- Utilisation et cas de regexp pour les déclarations MySQL
- 【多线程】实现线程到底只有一种方式还是四种方式
- Rexroth Rexroth plunger pump a15vso
- 2022年中国第三方支付市场专题分析
- LabVIEW cluster cannot contain input and output controls at the same time
- KVM虚拟化-创建-桥接-硬盘-快照
- 2022 low voltage electrician examination simulated 100 questions and simulated examination
猜你喜欢
[multithreading] there are several ways to create a thread pool
2022起重机司机(限桥式起重机)考试题库及答案
【每日一题】814. 二叉树剪枝
Comparison between official raspberry pie PI Pico and yd-rp2040
Internet Download Manager老牌下载器最佳的电脑下载工具
Classification de l'index MySQL et exemples d'utilisation
【Pingtunnel工具教程】利用ICMP隧道技术进行ICMP封装穿透防火墙
State owned enterprises work overtime in 996, but job hopping offers are outsourcing. What should we do?
Cs224w (Figure machine learning) 2021 winter course learning notes 4
rexroth力士乐柱塞泵A15VSO
随机推荐
2022r1 fast opening pressure vessel operation test and simulation test
Cordove Youmeng plug-in ++ push and statistics functions
【大型电商项目开发】线程池-异步(CompletableFuture)-48
可以说是迄今为止最好用的右键菜单管理工具
2022r1 fast opening pressure vessel operation test and simulation test
Comparison between official raspberry pie PI Pico and yd-rp2040
Tas (file d'attente prioritaire)
[idea] common shortcut keys of idea
Rexroth proportional valve 4wrpeh6c3b04l-3x/m/24f1-885
LabVIEW簇中不能同时包含输入输出控件
2022年低压电工考试模拟100题及模拟考试
[cicadaplayer] the problem that the release cannot debug at breakpoints
查找问题:顺序查找与二分法查找
尚好房 - 项目总结
IO extension control (system.io.abstractions)
Interview problems
[multithreading] is there only one way to implement threads or four ways
Some experience of code specification
The difference and connection between cookies and seesion
6、学习MySQL 删除数据库