Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 8 of 8) sorted by relevance

/kernel/tests/
A Dsync_ipi_tests.cpp60 thread_t* threads[5] = {0}; in deadlock_test() local
61 for (uint i = 0; i < fbl::count_of(threads); ++i) { in deadlock_test()
62threads[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()
A Dthread_tests.cpp92 thread_t* threads[5]; in mutex_test() local
97 thread_resume(threads[i]); in mutex_test()
221 thread_t* threads[5]; in event_test() local
239 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() local
381 thread_resume(threads[i]); in atomic_test()
687 thread_t* threads[16] = {};
755 for (auto& t : state.threads) { in affinity_test()
[all …]
A Dtimer_tests.cpp268 thread_t* threads[256]; in timer_stress() local
269 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()
/kernel/object/
A Dprocess_dispatcher.cpp650 fbl::Array<zx_koid_t> threads; in GetThreads() local
652 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()
/kernel/arch/x86/include/arch/x86/
A Dregisters.h261 void x86_set_extended_register_pt_state(bool threads);
/kernel/arch/x86/
A Dregisters.cpp668 void x86_set_extended_register_pt_state(bool threads) { in x86_set_extended_register_pt_state() argument
673 if (threads) in x86_set_extended_register_pt_state()
/kernel/syscalls/
A Dobject.cpp193 fbl::Array<zx_koid_t> threads; in sys_object_get_info() local
194 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()
/kernel/object/include/object/
A Dprocess_dispatcher.h218 zx_status_t GetThreads(fbl::Array<zx_koid_t>* threads);

Completed in 22 milliseconds