Searched refs:threadCount (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215/tests/ipc/ |
| H A D | ipc_thread_ports_race.c | 63 mach_msg_type_number_t threadCount = 0; in test_race() local 70 kr = task_threads(task, &threadList, &threadCount); in test_race() 73 for (mach_msg_type_number_t i = 0; i < threadCount; i++) { in test_race() 78 sizeof(threadList[0]) * threadCount); in test_race() 79 ths += threadCount; in test_race()
|
| H A D | ipc_read_inspect.c | 160 mach_msg_type_number_t threadCount = 0; in test_task_threads() local 167 kr = task_threads(tport, &threadList, &threadCount); in test_task_threads() 175 T_QUIET; T_ASSERT_GE(threadCount, 1, "threadCount should be at least 1"); in test_task_threads() 183 for (size_t i = 0; i < threadCount; i++) { in test_task_threads() 208 for (size_t i = 0; i < threadCount; i++) { in test_task_threads() 212 sizeof(threadList[0]) * threadCount); in test_task_threads()
|
| /xnu-11215/tests/ |
| H A D | imm_pinned_control_port.c | 240 mach_msg_type_number_t threadCount = 0; in test_task_thread_port_values() local 266 kr = task_threads(mach_task_self(), &threadList, &threadCount); in test_task_thread_port_values() 268 T_QUIET; T_ASSERT_GE(threadCount, 1, "should have at least 1 thread"); in test_task_thread_port_values() 270 for (size_t i = 0; i < threadCount; i++) { in test_task_thread_port_values() 279 for (size_t i = 0; i < threadCount; i++) { in test_task_thread_port_values() 283 if (threadCount > 0) { in test_task_thread_port_values() 286 threadCount * sizeof(mach_port_t)); in test_task_thread_port_values()
|