| /kernel/tests/ |
| A D | thread_tests.cpp | 95 threads[i] = thread_create("mutex tester", &mutex_thread, &m, in mutex_test() 163 t = thread_create("mutex tester", inherit_worker, &args, in mutex_inherit_test() 460 t = thread_create("join tester", &join_tester, (void*)1, DEFAULT_PRIORITY); in join_tester_server() 469 t = thread_create("join tester", &join_tester, (void*)2, DEFAULT_PRIORITY); in join_tester_server() 624 t = thread_create("sleeper", sleeper_kill_thread, 0, LOW_PRIORITY); in kill_tests() 632 t = thread_create("sleeper", sleeper_kill_thread, 0, LOW_PRIORITY); in kill_tests() 639 t = thread_create("sleeper", sleeper_kill_thread, 0, LOW_PRIORITY); in kill_tests() 668 t = thread_create("waiter", waiter_kill_thread, &e, LOW_PRIORITY); in kill_tests() 678 t = thread_create("waiter", waiter_kill_thread, &e, LOW_PRIORITY); in kill_tests() 756 t = thread_create("affinity_tester", &affinity_test_thread, &state, in affinity_test() [all …]
|
| A D | fibo.cpp | 30 t[0] = thread_create(name, &fibo_thread, (void*)(fibo - 1), DEFAULT_PRIORITY); in fibo_thread() 36 t[1] = thread_create(name, &fibo_thread, (void*)(fibo - 2), DEFAULT_PRIORITY); in fibo_thread() 64 … thread_t* t = thread_create("fibo", &fibo_thread, (void*)(uintptr_t)argv[1].u, DEFAULT_PRIORITY); in fibo()
|
| A D | mp_hotplug_tests.cpp | 73 thread_t* nt = thread_create("resume-test-thread", in mp_hotplug_test()
|
| A D | sync_ipi_tests.cpp | 62 … threads[i] = thread_create("sync_ipi_deadlock", deadlock_test_thread, &gate, DEFAULT_PRIORITY); in deadlock_test()
|
| A D | timer_tests.cpp | 271 thread_create("timer-stress-worker", &timer_stress_worker, &args, DEFAULT_PRIORITY); in timer_stress()
|
| /kernel/top/ |
| A D | main.cpp | 90 thread_t* t = thread_create("bootstrap2", &bootstrap2, NULL, DEFAULT_PRIORITY); in lk_main()
|
| /kernel/lib/lockdep/ |
| A D | lock_dep.cpp | 55 thread_t* t = thread_create("lockdep", &LockDepThread, NULL, LOW_PRIORITY); in LockDepInit()
|
| /kernel/syscalls/ |
| A D | system_x86.cpp | 173 thread_t* t = thread_create("suspend-thread", suspend_thread, in acpi_transition_s_state()
|
| /kernel/lib/oom/ |
| A D | oom.cpp | 122 thread_t* t = thread_create("oom", oom_loop, nullptr, HIGH_PRIORITY); in start_thread_locked()
|
| /kernel/kernel/ |
| A D | dpc.cpp | 185 cpu->dpc_thread = thread_create(name, &dpc_thread, NULL, DPC_THREAD_PRIORITY); in dpc_init_for_cpu()
|
| A D | thread.cpp | 211 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority) { in thread_create() function
|
| /kernel/lib/debuglog/ |
| A D | debuglog.cpp | 453 if ((notifier_thread = thread_create("debuglog-notifier", debuglog_notifier, NULL, in dlog_init_hook() 459 if ((dumper_thread = thread_create("debuglog-dumper", debuglog_dumper, NULL, in dlog_init_hook()
|
| /kernel/lib/unittest/ |
| A D | unittest.cpp | 203 thread_t* t = thread_create("unittest", run_unittest_thread_entry, in run_testcase_in_thread()
|
| /kernel/lib/counters/ |
| A D | counters.cpp | 303 watcher_thread = thread_create( in watch_counter()
|
| /kernel/include/kernel/ |
| A D | thread.h | 243 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority);
|
| /kernel/lib/debugcommands/ |
| A D | debugcommands.cpp | 313 thread_t *t = thread_create("crasher", &crash_thread, NULL, DEFAULT_PRIORITY); in cmd_crash()
|
| /kernel/object/ |
| A D | diagnostics.cpp | 761 thread_t* t = thread_create("mwd", mwd_thread, nullptr, DEFAULT_PRIORITY); in cmd_diagnostics() 780 thread_t* t = thread_create("hwd", hwd_thread, nullptr, DEFAULT_PRIORITY); in cmd_diagnostics()
|