Back to Darwin Xnu

Mach Thread Self

osfmk/man/mach_thread_self.html

latest514 B
Original Source

mach_thread_self


System Trap - Returns the thread self port.

SYNOPSIS

#include

**thread\_port\_t mach\_thread\_self( void );**

PARAMETERS

None.

DESCRIPTION

The mach_thread_self function returns send rights to the thread's own kernel port.

RETURN VALUES

[thread-self send right] Send rights to the thread's port.

Functions: thread_info, thread_set_special_port.