First-in-first-out (fifo), Operating System

FIFO is named as 'named pipes'. FIFO (first-in-first-out) is a special file which is laid to be data transient. Once data is load from named pipe, it cannot be load again. Also, data can be load only in the order written. It is used in interprocess interaction where a program writes to one end of the producer and the other loads from the consumer.

Make special files like device files and named pipes

The system call mknod makes special files in the giving sequence.

1.   kernel give new inode,

2.   sets the file type to locate that the file is a directory, pipe or special file,

3.   If it is a machine file, it creates the other entries like minor, major device numbers.

 

2268_FIFO.png

Posted Date: 7/28/2012 8:16:46 AM | Location : United States







Related Discussions:- First-in-first-out (fifo), Assignment Help, Ask Question on First-in-first-out (fifo), Get Answer, Expert's Help, First-in-first-out (fifo) Discussions

Write discussion on First-in-first-out (fifo)
Your posts are moderated
Related Questions
Q. Describe why SSTF scheduling tends to favour middle cylinders over the innermost and outermost cylinders. Answer: The middle of the disk is the location having the smalles

What is operating system?

Q. The accelerating search for described in subsequent exercise is typical of hard-disk drives. By contrast floppy disks and several hard disks manufactured before the mid-1980s t

Explain about deadlock detection? In deadlock situation, the system must provide An algorithm that verifies the state of the system to verify whether a deadlock has occu

Explain the basic method of paging method. Physical memory is divided into the fixed-sized blocks called frames. Logical memory is as well divided into blocks of the same size


What is the purpose of system calls? System calls permit user-level processes to request services of the operating system.

Questiion 1 What is RTOS? What are its requirements? Questiion 2 Explain the structural elements of a real time system mode Questiion 3 What is kernel? Explain abo

What are conditions under which a deadlock situation may arise? A deadlock situation can arise if the following four conditions hold simultaneously in a system: a. Mutual ex

Question: a) The following refers to optimization under Windows XP: i) Give five steps which could undertake to enhance overall system performance in a default Windows XP in