急需以下内容翻译,希望各位高手帮帮忙,英文翻译成中文,不要机译,非常感谢!

来源:百度知道 编辑:UC知道 时间:2024/05/14 17:59:25
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 inheritan

实现数据流系统似乎已成为首要动机的RT - Linux的设计师。但FIFO的计划提供了一个不错的方式执行信号量。二进制信号量能的好方法执行信号量。二进制信号量才能执行,创造一个FIFO的大小。 " ,让"手术(也被称为" V "字或"信号" )是那么一个单纯的rtf_put ( )的大小,与数据内容微不足道和误差回报忽视。 "采取行动" (或" P "或"等待" )是一个rtf_get ( )的大小。票上打出的旗语,可以简单地实施创造FIFO的一个尺寸大到足以容纳预期数目的人" ,让"集中行动。所以FIFO的机制,提供了大部分所需的功能,为任务同步,在实时应用的需求。目前执行缺乏一些功能,其中的RTOS用户习惯,如优先级继承(以防止优先级反转)和任务,删除安全。但仔细设计几乎可以永远避免问题,这些功能是为了处理。此外,虽然FIFO的行动,能成立,以块数据时,是不是可用(当读取的FIFO )或空间的时候,是不符合(写作时) ,语法这样做是相当麻烦,因为阻塞能力,似乎并不有一个优先的设计者。不过,至少有一个努力的工作正在进行,以提供一种简单的语法阻挠行动fifos 。六日这方面的努力也是在执行超时的时候,堵,其中一个重要的特点,在许多嵌入式应用。很简单,开放式设计的RT - Linux允许用户执行这些额外喜爱的特点很容易。