Home
last modified time | relevance | path

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

/lk-master/app/tests/
A Dthread_tests.c33 …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 Dfibo.c30 …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 Dport_tests.c287 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 Dfloat.c85 t[i] = thread_create(name, &float_thread, &val[i], LOW_PRIORITY, DEFAULT_STACK_SIZE); in float_tests()
/lk-master/app/inetsrv/
A Dinetsrv.c82 …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 Dmain.c106 …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 Ddpc.c72 …thread_detach_and_resume(thread_create("dpc", &dpc_thread_routine, NULL, DPC_PRIORITY, DEFAULT_STA… in dpc_init()
/lk-master/app/
A Dapp.c51 …thread_t *t = thread_create(app->name, &app_thread_entry, (void *)app, DEFAULT_PRIORITY, stack_siz… in start_app()
/lk-master/lib/minip/
A Dnet_timer.c134 …thread_detach_and_resume(thread_create("net timer", &net_timer_work_thread, NULL, DEFAULT_PRIORITY… in net_timer_init()
A Ddhcp.c277 dhcp_thr = thread_create("dhcp", dhcp_thread, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in minip_init_dhcp()
/lk-master/app/lkboot/
A Dcommands.c163 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 Ddebug.c68 …state->worker = thread_create("dcc worker", dcc_worker_entry, state, DEFAULT_PRIORITY, DEFAULT_STA… in arm_dcc_enable()
/lk-master/app/loader/
A Dloader.c99 thread_resume(thread_create("elf_runner", &run_elf, entrypt, in process_elf_blob()
/lk-master/platform/pc/
A Duart.c87 thread_resume(thread_create("[uart writer]", uart_write_thread, dev, DEFAULT_PRIORITY, in uart_init()
/lk-master/kernel/include/kernel/
A Dthread.h152 thread_t *thread_create(const char *name, thread_start_routine entry, void *arg, int priority, size…
/lk-master/external/lib/lwip/
A Dsys_arch.c20 thread_t *t = thread_create(name, (void*) func, arg, prio, stacksize); in sys_thread_new()
/lk-master/platform/zynq/
A Dgem.c457 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 Deth.c179 thread_resume(thread_create("eth_rx", &eth_rx_worker, NULL, HIGH_PRIORITY, DEFAULT_STACK_SIZE)); in eth_init()
/lk-master/dev/virtio/net/
A Dvirtio-net.c173 …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 Dpcnet.c235 thread_resume(thread_create("[pcnet bh]", pcnet_thread, dev, DEFAULT_PRIORITY, in pcnet_init()
/lk-master/dev/virtio/gpu/
A Dvirtio-gpu.c394 …t = thread_create("virtio gpu flusher", &virtio_gpu_flush_thread, (void *)gdev, HIGH_PRIORITY, DEF… in virtio_gpu_start()
/lk-master/kernel/
A Dthread.c222 thread_t *thread_create(const char *name, thread_start_routine entry, void *arg, int priority, size… in thread_create() function

Completed in 24 milliseconds