Large writes from several producers on one pipe

Three producer processes on Linux write 6,000-byte records to the same pipe, one record per blocking write() call. The pipe capacity is 65,536 bytes and PIPE_BUF is 4,096 bytes. A consumer reads 6,000 bytes at a time. Which statement correctly describes what the consumer can receive?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Inter Process Communication Questions: