O'Reilly logo

Panic! UNIX® System Crash Dump Analysis by Kimberley Brown, Chris Drake

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Interprocess Communication

Interprocess communication, also known as IPC, covers the facilities offered by the operating system to allow processes to share information. In general, a process can access only its own address space, so the only way data can be shared is if that data can be found in a common area. The simplest answer is to put the data into a file, but this is slow, imposes lots of overhead (especially if the data won’t be needed again), and presents some problems with synchronization and locking. The real answer is to make the kernel provide some way to ship data back and forth without involving physical I/O.

The first attempt used pipes. These were implemented as short (4K) kernel buffers that would allow one process ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required