Searched refs:threads (Results 1 – 8 of 8) sorted by relevance
60 thread_t* threads[5] = {0}; in deadlock_test() local61 for (uint i = 0; i < fbl::count_of(threads); ++i) { in deadlock_test()62 … threads[i] = thread_create("sync_ipi_deadlock", deadlock_test_thread, &gate, DEFAULT_PRIORITY); in deadlock_test()63 if (!threads[i]) { in deadlock_test()67 thread_resume(threads[i]); in deadlock_test()73 for (uint i = 0; i < fbl::count_of(threads); ++i) { in deadlock_test()74 if (threads[i]) { in deadlock_test()75 thread_join(threads[i], NULL, ZX_TIME_INFINITE); in deadlock_test()
92 thread_t* threads[5]; in mutex_test() local97 thread_resume(threads[i]); in mutex_test()221 thread_t* threads[5]; in event_test() local239 thread_resume(threads[i]); in event_test()258 thread_resume(threads[i]); in event_test()263 thread_kill(threads[i]); in event_test()369 thread_t* threads[8]; in atomic_test() local381 thread_resume(threads[i]); in atomic_test()687 thread_t* threads[16] = {};755 for (auto& t : state.threads) { in affinity_test()[all …]
268 thread_t* threads[256]; in timer_stress() local269 for (auto& thread : threads) { in timer_stress()275 for (const auto& thread : threads) { in timer_stress()282 for (const auto& thread : threads) { in timer_stress()
650 fbl::Array<zx_koid_t> threads; in GetThreads() local652 threads.reset(new (&ac) zx_koid_t[n], n); in GetThreads()657 threads[i] = thread.get_koid(); in GetThreads()661 *out_threads = ktl::move(threads); in GetThreads()
261 void x86_set_extended_register_pt_state(bool threads);
668 void x86_set_extended_register_pt_state(bool threads) { in x86_set_extended_register_pt_state() argument673 if (threads) in x86_set_extended_register_pt_state()
193 fbl::Array<zx_koid_t> threads; in sys_object_get_info() local194 zx_status_t status = process->GetThreads(&threads); in sys_object_get_info()197 size_t num_threads = threads.size(); in sys_object_get_info()204 _buffer.copy_array_to_user(threads.get(), sizeof(zx_koid_t) * num_to_copy) != ZX_OK) in sys_object_get_info()
218 zx_status_t GetThreads(fbl::Array<zx_koid_t>* threads);
Completed in 22 milliseconds