Searched refs:mach_thread_self (Results 1 - 10 of 10) sorted by relevance

/xnu-2782.1.97/libsyscall/mach/
H A Dmach_legacy.c48 mach_thread_self(void) function
/xnu-2782.1.97/libsyscall/mach/mach/
H A Dmach_init.h73 extern mach_port_t mach_thread_self(void);
/xnu-2782.1.97/tools/tests/zero-to-n/
H A Dzero-to-n.c176 res = thread_policy_set(mach_thread_self(), THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT);
185 res = thread_policy_set(mach_thread_self(), THREAD_EXTENDED_POLICY, (thread_policy_t) &pol, THREAD_EXTENDED_POLICY_COUNT);
201 res = thread_policy_set(mach_thread_self(), THREAD_AFFINITY_POLICY, (thread_policy_t)&affinity, THREAD_AFFINITY_POLICY_COUNT);
524 res = thread_policy_get(mach_thread_self(), THREAD_PRECEDENCE_POLICY, (thread_policy_t) &prec, &count, &get_default);
528 res = thread_policy_set(mach_thread_self(), THREAD_PRECEDENCE_POLICY, (thread_policy_t) &prec, THREAD_PRECEDENCE_POLICY_COUNT);
/xnu-2782.1.97/tools/tests/affinity/
H A Dpool.c175 mach_thread_self(), THREAD_AFFINITY_POLICY,
200 mach_thread_self(), THREAD_EXTENDED_POLICY,
H A Dsets.c192 mach_thread_self(), THREAD_EXTENDED_POLICY,
201 mach_thread_self(), THREAD_AFFINITY_POLICY,
/xnu-2782.1.97/tools/tests/jitter/
H A Dtimer_jitter.c118 res = thread_policy_set(mach_thread_self(), THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT);
127 res = thread_policy_set(mach_thread_self(), THREAD_EXTENDED_POLICY, (thread_policy_t) &pol, THREAD_EXTENDED_POLICY_COUNT);
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dsched_tests.c49 kret = thread_policy_set(mach_thread_self(), THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT);
H A Dtests.c6726 kr = thread_get_exception_ports(mach_thread_self(), EXC_MASK_BAD_ACCESS,
6768 ret = thread_set_exception_ports( mach_thread_self(),
6778 thread_set_exception_ports( mach_thread_self(),
/xnu-2782.1.97/tools/tests/MPMMTest/
H A DMPMMtest.c336 mach_thread_self(), THREAD_EXTENDED_POLICY,
346 mach_thread_self(), THREAD_AFFINITY_POLICY,
H A DKQMPMMtest.c321 mach_thread_self(), THREAD_EXTENDED_POLICY,
331 mach_thread_self(), THREAD_AFFINITY_POLICY,

Completed in 93 milliseconds