Home
last modified time | relevance | path

Searched refs:thread_create (Results 1 – 17 of 17) sorted by relevance

/kernel/tests/
A Dthread_tests.cpp95 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 Dfibo.cpp30 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 Dmp_hotplug_tests.cpp73 thread_t* nt = thread_create("resume-test-thread", in mp_hotplug_test()
A Dsync_ipi_tests.cpp62 … threads[i] = thread_create("sync_ipi_deadlock", deadlock_test_thread, &gate, DEFAULT_PRIORITY); in deadlock_test()
A Dtimer_tests.cpp271 thread_create("timer-stress-worker", &timer_stress_worker, &args, DEFAULT_PRIORITY); in timer_stress()
/kernel/top/
A Dmain.cpp90 thread_t* t = thread_create("bootstrap2", &bootstrap2, NULL, DEFAULT_PRIORITY); in lk_main()
/kernel/lib/lockdep/
A Dlock_dep.cpp55 thread_t* t = thread_create("lockdep", &LockDepThread, NULL, LOW_PRIORITY); in LockDepInit()
/kernel/syscalls/
A Dsystem_x86.cpp173 thread_t* t = thread_create("suspend-thread", suspend_thread, in acpi_transition_s_state()
/kernel/lib/oom/
A Doom.cpp122 thread_t* t = thread_create("oom", oom_loop, nullptr, HIGH_PRIORITY); in start_thread_locked()
/kernel/kernel/
A Ddpc.cpp185 cpu->dpc_thread = thread_create(name, &dpc_thread, NULL, DPC_THREAD_PRIORITY); in dpc_init_for_cpu()
A Dthread.cpp211 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority) { in thread_create() function
/kernel/lib/debuglog/
A Ddebuglog.cpp453 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 Dunittest.cpp203 thread_t* t = thread_create("unittest", run_unittest_thread_entry, in run_testcase_in_thread()
/kernel/lib/counters/
A Dcounters.cpp303 watcher_thread = thread_create( in watch_counter()
/kernel/include/kernel/
A Dthread.h243 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority);
/kernel/lib/debugcommands/
A Ddebugcommands.cpp313 thread_t *t = thread_create("crasher", &crash_thread, NULL, DEFAULT_PRIORITY); in cmd_crash()
/kernel/object/
A Ddiagnostics.cpp761 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()

Completed in 28 milliseconds