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
An operating system provides the environment within that programs are executed. Internally operating systems differ greatly in their makeup because they are organized along many di


importance of Operating system in modern computers. Also explain various functions & types of operating systems

Q. The Sun Ultra SPARC processor has numerous register sets that describe the actions of a context switch if the new context is previously loaded into one of the register sets. Wha

Cold Backup: It is copying the three groups of files when the object is shut down. This is a straight file copy, generally from the storage disk directly to tape. You must end th

List the Coffman's conditions that lead to a deadlock. Mutual Exclusion : Only one process might be use a critical resource at a time. Hold & Wait: A process may be alloc

Q. If magnetic hard disks eventually have the same cost per gigabyte as do tapes will tapes turn into obsolete or will they still be needed? Describe your answer. Answer: Tap

How does user specify block to be fetched in direct access? By specifying the relative block number, relative to first block in file, which is block 0.

The dynamic memory allocator is a layer between the application and the OS, managing heap objects. When a program requests memory from the allocator (via malloc(), for instance), t

Explain about interprocess communication The cooperating processes communicate with each other via an interprocess communication facility. IPC gives a mechanism to permit proce