3.5.2 An Example: Mach
As an example of message passing, we next consider the Mach operating system.
You may recall that we introduced Mach in Chapter 2 as part of the Mac OS X operating system.
The Mach kernel supports the creation and destruction of multiple tasks,
which are similar to processes but have multiple threads of control and fewer associated resources.
Most communication in Mach— including all intertask information—is carried out by messages.
Messages are sent to and received from mailboxes, called ports in Mach.