Searched refs:thread_get_state (Results 1 - 3 of 3) sorted by relevance

/xnu-2422.115.4/tools/tests/unit_tests/thread_get_state_11918811_src/
H A Dthread_get_state.c15 * sure all thread_get_state variants can be executed
118 kret = thread_get_state(thread, THREAD_STATE_FLAVOR_LIST_NEW, (thread_state_t)flavors, &count);
122 kret = thread_get_state(thread, THREAD_STATE_FLAVOR_LIST, (thread_state_t)flavors, &count);
124 errx(1, "thread_get_state(THREAD_STATE_FLAVOR_LIST): %s (%d)", mach_error_string(kret), kret);
126 errx(1, "thread_get_state(THREAD_STATE_FLAVOR_LIST_NEW): %s (%d)", mach_error_string(kret), kret);
134 kret = thread_get_state(thread, flavor, (thread_state_t)state, &count);
136 errx(1, "thread_get_state(%d): %s (%d)", flavor, mach_error_string(kret), kret);
/xnu-2422.115.4/osfmk/mach/
H A Dthread_act.defs122 routine thread_get_state(
/xnu-2422.115.4/osfmk/kern/
H A Dthread_act.c418 thread_get_state( function
660 return (thread_get_state(thread, flavor, tstate, count));
899 return (thread_get_state(thread, flavor, state, count));

Completed in 76 milliseconds