What is a named pipe?

What is a named pipe?

- A connection used to transfer data between separate processes, usually on separate computers.
- It is a pipe that an application opens by name in order to write data into or read data from the pipe.
- They are placed in the /dev directory and are treated as special files.
- Using a named pipe facilitates interprocess communications.

A named pipe is an extension of the concept ‘pipe’ in multitasking operating system. Inter process communication is implemented using a named pipe. A pipe / traditional pipe is unnamed. The reason is it persists as long as the process is executing. Where as a named pipe is system-persistent and exists more than a process running time. It can be removed if not required in future.
What is pre-emptive and non-preemptive scheduling?
In non-preemptive scheduling, a running task is executed till completion. It cannot be interrupted......
Operating System semaphore - What is a semaphore?
Operating System semaphore - A semaphore is a variable. There are 2 types of semaphores:Binary semaphores, Counting semaphores.....
Meaning of mutex - Binary semaphore vs. Mutex
Operating System mutex - A mutex and the binary semaphore are essentially the same. Both can take values: 0 or 1. However, there is a significant difference...
Post your comment