Docsity

Lecture Slides on Interprocess Communication | CS 351, Study notes of Computer Science

Partial preview of the text

Download Lecture Slides on Interprocess Communication | CS 351 and more Study notes Computer Science in PDF only on Docsity!

CS351 : Saelee

Interprocess

Communication

UNIX IPC

System V vs. Posix

many mechanisms

common issues

unidirectional vs. bidirectional

naming

multiple senders/recipients

buffering

data synchronization

int pipe (int pfd[2]);

pfd[0] for reading pfd[1] for writing

PIPE_BUF = buffer size

writes ≤ PIPE_BUF atomic