Games: Processes and Inter-Process Communication

Prof. Brian D. Davison

Computer Science & Engineering, Lehigh University

Announcements

Processes

Processes

Running a program

Running a program

Example: execdemo.c

Getting a new process

Getting a new process

Example: forkdemo3.c

The Parent wait()s

Interprocess communication

Interprocess communication

Communication Using Files

Communication Using Shared Memory

Communication Using Shared Memory

IPC Using Named Pipes

Example: Named Pipes