当前位置:网站首页>OS8 resource based priority inversion and priority ceiling protocol
OS8 resource based priority inversion and priority ceiling protocol
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 Priority reversal
Be careful : In this section T1 Have the highest priority ,T4 With lowest priority .
As shown in the figure below , When a higher priority task is forced to wait indefinitely for a lower priority task to complete , There will be priority reversal .
When a lower priority task T4 Hold higher priority tasks T1 Required resources , That may be the case . Mission T1 As long as the resource cannot be obtained, it will not enter the running state . When T1 When holding this resource , This resource is not available but , Any priority between T1 and T4 If the task between does not request access to resources , Can preempt T4 .T1 You will see an unlimited number of low priority tasks running , meanwhile T4 Occupancy resources .
2 Priority ceiling protocol
Be careful : The resources in this section have the highest priority ,T3 second ,T1 With lowest priority .
OSEK Prevent this by imposing a priority ceiling protocol on its resource management . The priority ceiling protocol is calculated according to the following rules :
边栏推荐
- [cicadaplayer] the problem that the release cannot debug at breakpoints
- 官版树莓派Pi Pico和YD-RP2040版本对比
- Interface automation testing - how to improve the stability of interface automation scripts?
- 2022 low voltage electrician examination simulated 100 questions and simulated examination
- classes. Jar: another program is using this file, and the process cannot access it.
- 2022 melting welding and thermal cutting operation certificate examination question bank simulated examination platform operation
- Wechat applet development process
- 我的创作纪念日
- [development of large e-commerce projects] thread pool - completable future -48
- 开源demo| ARCall 小程序开源示例发布
猜你喜欢
Controllable text generation series-a survey of controllable text generation using transformer based pre trained
classes.jar: 另一个程序正在使用此文件,进程无法访问。
STM32状态机编程实例——全自动洗衣机(上)
2022 low voltage electrician examination simulated 100 questions and simulated examination
Install Wamp with Tencent ECs, which shows that MySQL cannot be connected
2022 crane driver (bridge crane only) examination question bank and answers
Three barriers in the workplace: annual salary of 300000, 500000 and 1million
IDM下载器软件激活序列号错误如何解决?
Summer precipitation Web Learning - SQL injection (Boolean blind injection & time blind injection)
[development of large e-commerce projects] thread pool - completable future -48
随机推荐
蓝桥杯STEMA科技素养 视频等相关资料收集
Mysql語句的RegExp的用法與案例
Midlife crisis, some thoughts on the future
Tencent test post, was abused by the interviewer... Until the senior gave me these knowledge points
Scheduling context of Kube scheduler
【多线程】创建线程池有几种方式
Helm --set usage examples and basic usage commands sorting
MFC obtains cfindreplacedialog control messages by registering window information
音量调节堆栈
初阶数据结构 —— 顺序表和链表(带头双向循环链表)的优缺点 + CPU缓存的知识。
MySql集群之多实例数据库搭建(二)
Cluster configuration and verification of MySQL Cluster (4)
2022起重机司机(限桥式起重机)考试题库及答案
KVM虚拟化-创建-桥接-硬盘-快照
Install Wamp with Tencent ECs, which shows that MySQL cannot be connected
SOC第一个工程
Deep learning neural network cyclic neural network (I): RNN (recurrent neural network; 1990)
Requirement: how to import the MD file containing the public drawing bed pictures into the language bird in the form of graphics and text- 2022.7.17 (resolved)
2022 melting welding and thermal cutting operation certificate examination question bank simulated examination platform operation
OS09- AutoSAR OS事件机制和实例解析