© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
H. DuttInterprocess Communication with macOShttps://doi.org/10.1007/978-1-4842-7045-5_3

3. IPC Through Mach Ports

Hem Dutt1  
(1)
North Delhi, Delhi, India
 

As discussed briefly in the first chapter, Mach ports are the fundamental services and primitives of the macOS kernel and are based on Mach 3.0 which was originally conceived as a simple, extensible, communications microkernel.

It is capable of running as a stand-alone kernel, with other traditional operating system services like I/O, file systems, and networking stacks running as user-mode servers.

These are conceptually similar to Unix pipes, sockets, or message queues. Mach ports are lightweight and powerful, ...

Get Interprocess Communication with macOS: Apple IPC Methods now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.