/lk-master/app/tests/ |
A D | thread_tests.c | 33 …thread_detach_and_resume(thread_create("sleeper", &sleep_thread, NULL, DEFAULT_PRIORITY, DEFAULT_S… in sleep_test() 179 …threads[i] = thread_create("mutex tester", &mutex_thread, &m, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE… in mutex_test() 266 …threads[0] = thread_create("event signaler", &event_signaler, NULL, DEFAULT_PRIORITY, DEFAULT_STAC… in event_test() 284 …threads[0] = thread_create("event signaler", &event_signaler, NULL, DEFAULT_PRIORITY, DEFAULT_STAC… in event_test() 400 …threads[0] = thread_create("atomic tester 1", &atomic_tester, (void *)1, LOW_PRIORITY, DEFAULT_STA… in atomic_test() 401 …threads[1] = thread_create("atomic tester 1", &atomic_tester, (void *)1, LOW_PRIORITY, DEFAULT_STA… in atomic_test() 489 t = thread_create("join tester", &join_tester, (void *)1, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in join_tester_server() 498 t = thread_create("join tester", &join_tester, (void *)2, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in join_tester_server() 508 t = thread_create("join tester", &join_tester, (void *)3, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in join_tester_server() 515 t = thread_create("join tester", &join_tester, (void *)4, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in join_tester_server() [all …]
|
A D | fibo.c | 30 …t[0] = thread_create(name, &fibo_thread, (void *)(fibo - 1), DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in fibo_thread() 36 …t[1] = thread_create(name, &fibo_thread, (void *)(fibo - 2), DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in fibo_thread() 64 …thread_t *t = thread_create("fibo", &fibo_thread, (void *)(uintptr_t)argv[1].u, DEFAULT_PRIORITY, … in fibo()
|
A D | port_tests.c | 287 thread_t *t1 = thread_create( in two_threads_basic() 289 thread_t *t2 = thread_create( in two_threads_basic() 500 thread_t *wt = thread_create( in group_basic() 677 thread_t *t1 = thread_create( in group_waiting()
|
A D | float.c | 85 t[i] = thread_create(name, &float_thread, &val[i], LOW_PRIORITY, DEFAULT_STACK_SIZE); in float_tests()
|
/lk-master/app/inetsrv/ |
A D | inetsrv.c | 82 …thread_detach_and_resume(thread_create("chargen_worker", &chargen_worker, accept_socket, DEFAULT_P… in chargen_server() 140 …thread_detach_and_resume(thread_create("discard_worker", &discard_worker, accept_socket, DEFAULT_P… in discard_server() 193 …thread_detach_and_resume(thread_create("echo_worker", &echo_worker, accept_socket, DEFAULT_PRIORIT… in echo_server() 205 …thread_detach_and_resume(thread_create("chargen", &chargen_server, NULL, DEFAULT_PRIORITY, DEFAULT… in inetsrv_entry() 206 …thread_detach_and_resume(thread_create("discard", &discard_server, NULL, DEFAULT_PRIORITY, DEFAULT… in inetsrv_entry() 207 …thread_detach_and_resume(thread_create("echo", &echo_server, NULL, DEFAULT_PRIORITY, DEFAULT_STACK… in inetsrv_entry()
|
/lk-master/top/ |
A D | main.c | 106 …thread_t *t = thread_create("bootstrap2", &bootstrap2, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in lk_main() 172 thread_t *t = thread_create("secondarybootstrap2", in lk_init_secondary_cpus()
|
/lk-master/lib/dpc/ |
A D | dpc.c | 72 …thread_detach_and_resume(thread_create("dpc", &dpc_thread_routine, NULL, DPC_PRIORITY, DEFAULT_STA… in dpc_init()
|
/lk-master/app/ |
A D | app.c | 51 …thread_t *t = thread_create(app->name, &app_thread_entry, (void *)app, DEFAULT_PRIORITY, stack_siz… in start_app()
|
/lk-master/lib/minip/ |
A D | net_timer.c | 134 …thread_detach_and_resume(thread_create("net timer", &net_timer_work_thread, NULL, DEFAULT_PRIORITY… in net_timer_init()
|
A D | dhcp.c | 277 dhcp_thr = thread_create("dhcp", dhcp_thread, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in minip_init_dhcp()
|
/lk-master/app/lkboot/ |
A D | commands.c | 163 thread_resume(thread_create("boot", &chainload_thread, &cl_args, in do_boot() 386 thread_resume(thread_create("reboot", &do_reboot, NULL, in lkb_handle_command()
|
/lk-master/arch/arm/arm/ |
A D | debug.c | 68 …state->worker = thread_create("dcc worker", dcc_worker_entry, state, DEFAULT_PRIORITY, DEFAULT_STA… in arm_dcc_enable()
|
/lk-master/app/loader/ |
A D | loader.c | 99 thread_resume(thread_create("elf_runner", &run_elf, entrypt, in process_elf_blob()
|
/lk-master/platform/pc/ |
A D | uart.c | 87 thread_resume(thread_create("[uart writer]", uart_write_thread, dev, DEFAULT_PRIORITY, in uart_init()
|
/lk-master/kernel/include/kernel/ |
A D | thread.h | 152 thread_t *thread_create(const char *name, thread_start_routine entry, void *arg, int priority, size…
|
/lk-master/external/lib/lwip/ |
A D | sys_arch.c | 20 thread_t *t = thread_create(name, (void*) func, arg, prio, stacksize); in sys_thread_new()
|
/lk-master/platform/zynq/ |
A D | gem.c | 457 rx_thread = thread_create("gem_rx", gem_rx_thread, NULL, HIGH_PRIORITY, DEFAULT_STACK_SIZE); in gem_init() 600 stat_thread = thread_create("gem_stat", in cmd_gem()
|
/lk-master/platform/stm32f7xx/ |
A D | eth.c | 179 thread_resume(thread_create("eth_rx", ð_rx_worker, NULL, HIGH_PRIORITY, DEFAULT_STACK_SIZE)); in eth_init()
|
/lk-master/dev/virtio/net/ |
A D | virtio-net.c | 173 …thread_resume(thread_create("virtio_net_rx", &virtio_net_rx_worker, (void *)the_ndev, HIGH_PRIORIT… in virtio_net_start()
|
/lk-master/dev/net/pcnet/ |
A D | pcnet.c | 235 thread_resume(thread_create("[pcnet bh]", pcnet_thread, dev, DEFAULT_PRIORITY, in pcnet_init()
|
/lk-master/dev/virtio/gpu/ |
A D | virtio-gpu.c | 394 …t = thread_create("virtio gpu flusher", &virtio_gpu_flush_thread, (void *)gdev, HIGH_PRIORITY, DEF… in virtio_gpu_start()
|
/lk-master/kernel/ |
A D | thread.c | 222 thread_t *thread_create(const char *name, thread_start_routine entry, void *arg, int priority, size… in thread_create() function
|