Next: Profiling, Previous: Thread Interface, Up: Threads and Tasks [Contents][Index]
This is a mach_port_t and used to hold the port name of a task
port that represents the thread. Manipulations of the task are
implemented as remote procedure calls to the task port. A task can get
a port to itself with the mach_task_self system call.
The task port name is also used to identify the task’s IPC space (see Port Manipulation Interface) and the task’s virtual memory map (see Virtual Memory Interface).
| • Task Creation: | Creating tasks. | |
| • Task Termination: | Terminating tasks. | |
| • Task Information: | Informations on tasks. | |
| • Task Execution: | Thread scheduling in a task. | |
| • Task Special Ports: | How to get and set the task’s special ports. | |
| • Syscall Emulation: | How to emulate system calls. |