summaryrefslogtreecommitdiff
path: root/sysdeps/mach/include/mach/mach_traps.h
blob: c43349524dafdf8639c82d9e233ba327b0cb6e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _MACH_MACH_TRAPS_H
#include_next <mach/mach_traps.h>

#ifndef _ISOMAC
extern mach_port_t __mach_reply_port (void);
libc_hidden_proto (__mach_reply_port)
extern mach_port_t __mach_thread_self (void);
libc_hidden_proto (__mach_thread_self)
extern mach_port_t (__mach_task_self) (void);
libc_hidden_proto (__mach_task_self)
extern mach_port_t (__mach_host_self) (void);
libc_hidden_proto (__mach_host_self)
extern boolean_t __swtch (void);
libc_hidden_proto (__swtch)
extern boolean_t __swtch_pri (int priority);
libc_hidden_proto (__swtch_pri)
kern_return_t __thread_switch (mach_port_t new_thread,
			     int option, mach_msg_timeout_t option_time);
libc_hidden_proto (__thread_switch)
kern_return_t __evc_wait (unsigned int event);
libc_hidden_proto (__evc_wait)
#endif
#endif