Semaphores Are Not Implemented In Older Versions Of Unix

Semaphores are not implemented in older versions of UNIX, but processes with stdout of one process dirtected into stdin must synchronize their operation in a manner similar to that required in problem 7. Write a program, Source, that copies a file to stdout and another program, sink, that reads stdin and reads stdin and counts the number of bytes in the stream. Run source and sink with the output from source piped into the input of sink. How are the processes synchronized in your software?

Posted in Uncategorized