作业帮 > 英语 > 作业

英语翻译Implementing data streaming systems appears to have been

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/11 05:30:05
英语翻译
Implementing data streaming systems appears to have been the primary motivation of the RT-Linux designers.But the FIFO scheme provides a pretty good way of implementing semaphores.A binary semaphore can good way of implementing semaphores.A binary semaphore can be implemented by creating a FIFO of size one.The "give" operation (also known as "V" or "signal") is then simply an rtf_put() of size one,with the content of the data insignificant and the error return ignored.The "take" operation (or "P" or "wait") is an rtf_get() with size one.A counting semaphore can be implemented simply by creating the FIFO with a size large enough to accommodate the expected number of "give" operations.So the FIFO mechanism provides most of the functionality needed for task synchronization in real-time applications.The current implementation lacks some functionality to which RTOS users are accustomed,such as priority inheritance (to prevent priority inversion) and task deletion safety.But careful design can almost always prevent the problems these features are intended to address.In addition,although the FIFO operations can be set up to block when data is not available (when reading the FIFO) or when space is not available (when writing),the syntax for doing so is rather cumbersome,as blocking capability appears not to have been a priority of the designers.Nevertheless,at least one effort is under way to provide an easy syntax for blocking operations on FIFOs.6 This effort also implements timeouts when blocking,an important feature in many embedded applications.The simple,open design of RT-Linux allows users to implement such additional favorite features quite easily.
我的积分不多,但我要翻译的内容不少,我真诚的希望大家给我帮助,真诚的恳求不要机译!
实现数据流系统似乎已成为首要动机的RT - Linux的设计师.但FIFO的计划提供了一个不错的方式执行信号量.二进制信号量能的好方法执行信号量.二进制信号量才能执行,创造一个FIFO的大小." ,让"手术(也被称为" V "字或"信号" )是那么一个单纯的rtf_put ( )的大小,与数据内容微不足道和误差回报忽视."采取行动" (或" P "或"等待" )是一个rtf_get ( )的大小.票上打出的旗语,可以简单地实施创造FIFO的一个尺寸大到足以容纳预期数目的人" ,让"集中行动.所以FIFO的机制,提供了大部分所需的功能,为任务同步,在实时应用的需求.目前执行缺乏一些功能,其中的RTOS用户习惯,如优先级继承(以防止优先级反转)和任务,删除安全.但仔细设计几乎可以永远避免问题,这些功能是为了处理.此外,虽然FIFO的行动,能成立,以块数据时,是不是可用(当读取的FIFO )或空间的时候,是不符合(写作时) ,语法这样做是相当麻烦,因为阻塞能力,似乎并不有一个优先的设计者.不过,至少有一个努力的工作正在进行,以提供一种简单的语法阻挠行动fifos .六日这方面的努力也是在执行超时的时候,堵,其中一个重要的特点,在许多嵌入式应用.很简单,开放式设计的RT - Linux允许用户执行这些额外喜爱的特点很容易.