System Trap - Returns the thread self port.
#include
thread_port_t mach_thread_self( void );
None.
The mach_thread_self function returns send rights to the thread's own kernel port.
[thread-self send right] Send rights to the thread's port.
Functions: thread_info, thread_set_special_port.