- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
嵌入式系统部分知识点翻译.
6.5 Points to Remember Some points to remember include the following: Using semaphores allows multiple tasks, or ISRs to tasks, to synchronize execution to synchronize execution or coordinate mutually exclusive access to a shared resource. Semaphores have an associated semaphore control block (SCB), a unique ID, a user-assigned value (binary or a count), and a task-waiting list. Three common types of semaphores are binary, counting, and mutual exclusion (mutex), each of which can be acquired or released. Binary semaphores are either available (1) or unavailable (0). Counting semaphores are also either available(count =1) or unavailable (0). Mutexes, however, are either unlocked (0) or locked (lock count =1). Acquiring a binary or counting semaphore results in decrementing its value or count, except when the semaphore s value is already 0. In this case, the requesting task blocks if it chooses to wait for the semaphore. Releasing a binary or counting semaphore results in incrementing the value or count, unless it is a binary semaphore with a value of 1 or a bounded semaphore at its maximum count. In this case, the release of additional semaphores is typically ignored. Recursive mutexes can be locked and unlocked multiple times by the task that owns them. Acquiring an unlocked recursive mutex increments its lock count, while releasing it decrements the lock count. Typical semaphore operations that kernels provide for application development include creating and deleting semaphores, acquiring and releasing semaphores, flushing semaphore s task-waiting list, and providing dynamic access to semaphore information. 7.8 Points to Remember Some points to remember include the following: Message queues are buffer-like kernel objects used for data communication and synchronization between two tasks or between an ISR and a task. Message queues have an associated message queue control block (QCB), a name, a unique ID, memory buffers, a message queue len
您可能关注的文档
- 山东省潍坊市2016届高三5月第三次模拟考试文综试题Word版含答案..doc
- 山东省潍坊市2016年中考历史试题(word版,含解析)..doc
- 山东省潍坊市2016年高考政治第一轮复习111经济全球化与对外开放导学案..doc
- 山东省潍坊市2017届高三上学期期中联考..doc
- 山东省潍坊市2016届高三下学期4月份高考模拟训练理综试题..doc
- 山东省潍坊市昌乐中学高中政治第二课第二框民主决策作出最佳选择学案新人教版必修2..doc
- 山东省潍坊市临朐县2015届高三生物10月阶段性教学质量检测试卷..doc
- 山东省烟台市2015届高三下学期一模诊断测试理科综合化学试题..doc
- 山东省烟台市2015年高考适应性练习(一)文综政治试题Word版含答案..doc
- 山东省物业收费新标准..doc
最近下载
- 2025年中级经济师《运输经济专业知识与实务》全真模拟卷.pdf VIP
- 人教版(25秋新教材)八年级上册英语Unit 3《Same or Different》全单元教学课件.pptx
- 消化道出血的急救与护理课件.pptx VIP
- 第15讲 椭圆的共轭直径(解析几何)(解析版)》.pdf VIP
- 临床工作中科研与创新思维的建立.ppt VIP
- 酒店治安管理制度及应急预案.docx VIP
- 中国民营经济发展报告(上下册).doc VIP
- 语文人教版五年级下册草船借箭的教学设计.doc VIP
- 体育与健康《田径--投掷》大单元教学计划(18课时).pptx VIP
- 抗震加固工程施工方案.pdf VIP
文档评论(0)