Previous: Messaging Interface, Up: Inter Process Communication [Contents][Index]
This section describes the interface to create, destroy and manipulate ports, port rights and port sets.
This is a task_t
(and as such a mach_port_t
), which holds
a port name associated with a port that represents an IPC space in the
kernel. An IPC space is used by the kernel to manage the port names and
rights available to a task. The IPC space doesn’t get a port name of
its own. Instead the port name of the task containing the IPC space is
used to name the IPC space of the task (as is indicated by the fact that
the type of ipc_space_t
is actually task_t
).
The IPC spaces of tasks are the only ones accessible outside of the kernel.
• Port Creation: | How to create new ports and port sets. | |
• Port Destruction: | How to destroy ports and port sets. | |
• Port Names: | How to query and manipulate port names. | |
• Port Rights: | How to work with port rights. | |
• Ports and other Tasks: | How to move rights between tasks. | |
• Receive Rights: | How to work with receive rights. | |
• Port Sets: | How to work with port sets. | |
• Request Notifications: | How to request notifications for events. |
Previous: Messaging Interface, Up: Inter Process Communication [Contents][Index]