#include <mach/mach_types.h>
mach/mach_types.h
typedeftask_t
If we are in the kernel, then pick up the kernel definitions for
the basic mach types.
typedef struct task *task_t
GNU Mach reference · 7.2 Task Interface · © FSF, GFDL
task_t
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).
typedeftask_name_t
typedef struct task *task_t, *task_name_t
typedeftask_inspect_t
typedef struct task *task_t, *task_name_t, *task_inspect_t
typedeftask_read_t
typedef struct task *task_t, *task_name_t, *task_inspect_t, *task_read_t
typedeftask_suspension_token_t
typedef struct task *task_t, *task_name_t, *task_inspect_t, *task_read_t, *task_suspension_token_t
typedeftask_policy_set_t
typedef struct task *task_t, *task_name_t, *task_inspect_t, *task_read_t, *task_suspension_token_t, *task_policy_set_t
typedeftask_policy_get_t
typedef struct task *task_t, *task_name_t, *task_inspect_t, *task_read_t, *task_suspension_token_t, *task_policy_set_t, *task_policy_get_t
typedefthread_t
typedef struct thread *thread_t
GNU Mach reference · 7.1 Thread Interface · © FSF, GFDL
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.
typedefthread_act_t
typedef struct thread *thread_t, *thread_act_t
typedefthread_inspect_t
typedef struct thread *thread_t, *thread_act_t, *thread_inspect_t
typedefthread_read_t
typedef struct thread *thread_t, *thread_act_t, *thread_inspect_t, *thread_read_t
typedefthread_suspension_token_t
typedef struct thread *thread_t, *thread_act_t, *thread_inspect_t, *thread_read_t, *thread_suspension_token_t
typedefipc_space_t
typedef struct ipc_space *ipc_space_t
typedefipc_space_read_t
typedef struct ipc_space *ipc_space_t, *ipc_space_read_t
typedefipc_space_inspect_t
typedef struct ipc_space *ipc_space_t, *ipc_space_read_t, *ipc_space_inspect_t
typedefcoalition_t
typedef struct coalition *coalition_t
typedefhost_t
typedef struct host *host_t
typedefhost_priv_t
typedef struct host *host_priv_t
typedefhost_security_t
typedef struct host *host_security_t
typedefprocessor_t
typedef struct processor *processor_t
typedefprocessor_set_t
typedef struct processor_set *processor_set_t
typedefprocessor_set_control_t
typedef struct processor_set *processor_set_control_t
typedefsemaphore_t
typedef struct semaphore *semaphore_t
typedefledger_t
typedef struct ledger *ledger_t
typedefclock_serv_t
typedef struct clock *clock_serv_t
typedefclock_ctrl_t
typedef struct clock *clock_ctrl_t
typedefarcade_register_t
typedef struct arcade_register *arcade_register_t
typedefipc_eventlink_t
typedef struct ipc_eventlink *ipc_eventlink_t
typedefeventlink_port_pair_t
typedef struct ipc_port *eventlink_port_pair_t[2]
typedeftask_id_token_t
typedef struct task_id_token *task_id_token_t
typedefkcdata_object_t
typedef struct kcdata_object *kcdata_object_t
macroTASK_NAME_NULL
#define TASK_NAME_NULL ((task_name_t) NULL)
macroTASK_INSPECT_NULL
#define TASK_INSPECT_NULL ((task_inspect_t) NULL)
macroTASK_READ_NULL
#define TASK_READ_NULL ((task_read_t) NULL)
macroTHREAD_NULL
#define THREAD_NULL ((thread_t) NULL)
macroTHREAD_INSPECT_NULL
#define THREAD_INSPECT_NULL ((thread_inspect_t)NULL)
macroTHREAD_READ_NULL
#define THREAD_READ_NULL ((thread_read_t)NULL)
macroTHR_ACT_NULL
#define THR_ACT_NULL ((thread_act_t) NULL)
macroIPC_SPACE_NULL
#define IPC_SPACE_NULL ((ipc_space_t) NULL)
macroIPC_SPACE_READ_NULL
#define IPC_SPACE_READ_NULL ((ipc_space_read_t) NULL)
macroIPC_SPACE_INSPECT_NULL
#define IPC_SPACE_INSPECT_NULL ((ipc_space_inspect_t) NULL)
macroCOALITION_NULL
#define COALITION_NULL ((coalition_t) NULL)
macroHOST_PRIV_NULL
#define HOST_PRIV_NULL ((host_priv_t)NULL)
macroHOST_SECURITY_NULL
#define HOST_SECURITY_NULL ((host_security_t)NULL)
macroPROCESSOR_SET_NULL
#define PROCESSOR_SET_NULL ((processor_set_t) NULL)
macroPROCESSOR_NULL
#define PROCESSOR_NULL ((processor_t) NULL)
macroSEMAPHORE_NULL
#define SEMAPHORE_NULL ((semaphore_t) NULL)
macroLOCK_SET_NULL
#define LOCK_SET_NULL ((lock_set_t) NULL)
macroLEDGER_NULL
#define LEDGER_NULL ((ledger_t) NULL)
macroALARM_NULL
#define ALARM_NULL ((alarm_t) NULL)
macroCLOCK_NULL
#define CLOCK_NULL ((clock_t) NULL)
macroUND_SERVER_NULL
#define UND_SERVER_NULL ((UNDServerRef) NULL)
macroARCADE_REG_NULL
#define ARCADE_REG_NULL ((arcade_register_t) NULL)
macroIPC_EVENTLINK_NULL
#define IPC_EVENTLINK_NULL ((ipc_eventlink_t) NULL)
macroTASK_ID_TOKEN_NULL
#define TASK_ID_TOKEN_NULL ((task_id_token_t) NULL)
macroKCDATA_OBJECT_NULL
#define KCDATA_OBJECT_NULL ((kcdata_object_t) NULL)