]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>mach_thread_self</h2>\r<hr>\r<p>\r<strong>System Trap</strong> - Returns the thread self port.\r\r<h3>SYNOPSIS</h3>\r<p>\r<strong>#include <mach/mach_traps.h></strong>\r<pre>\r<strong>thread_port_t mach_thread_self( void );</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<p>\rNone.\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>mach_thread_self</strong> function returns send rights\rto the thread's own kernel port.\r<h3>RETURN VALUES</h3>\r<p>\r[thread-self send right] Send rights to the thread's port.\r<h3>RELATED INFORMATION<h3>\r<p>\rFunctions:\r<a href="thread_info.html"><strong>thread_info</strong></a>,\r<a href="thread_set_special_port.html"><strong>thread_set_special_port</strong></a>.\r\r |