IPC via named pipe: Difference between revisions

m
the task
m (the task)
Line 1:
{{draft task}}
[[wp:Named pipe|Named pipe]], or FIFO, is a way of providing inter-process communications (IPC). The Totask is to demonstrate how it works, create two pipes, say, "in" and "out" (choose suitable names for your system), and write a program that works the two pipes such that:
# Data written to the "in" FIFO will be discarded except the byte count, which will be added to a total tally kept by the program;
# Whenever another process reads the "out" FIFO, it should receive the total count so far.