7.1 Thread Interface
— Data type: thread_t
This is a
mach_port_t and used to hold the port name of a
thread port that represents the thread. Manipulations of the thread are
implemented as remote procedure calls to the thread port. A thread can
get a port to itself with the
mach_thread_self system call.