[LCP] Questions Regarding FIFO
Ludwig Isaac Lim
ludz_lim at yahoo.com
Wed Aug 8 12:52:01 UTC 2007
According to Linux man pages fifo(7), when processes
exchange data using a fifo, the kernel passes all data
internaly without writing to a file.
Supposing I have a "producer" process which passes data
to "consumer" process using a fifo, and the consumer
process is slower than the producer. Where does the kernel
store the unprocessed messages? Assuming the kernel stored
it in the memory. Is there a limitation on the size of the
"backlog"? Is there something like message queue's MSGMAX
and MSGMNB parameters?
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
More information about the linuxCprogramming