Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 25 of 34) sorted by relevance

12

/lk-master/kernel/include/kernel/
A Dthread.h113 } thread_t; typedef
153 thread_t *thread_create_etc(thread_t *t, const char *name, thread_start_routine entry, void *arg, i…
154 status_t thread_resume(thread_t *);
157 status_t thread_detach(thread_t *t);
159 status_t thread_detach_and_resume(thread_t *t);
160 status_t thread_set_real_time(thread_t *t);
162 void dump_thread(thread_t *t);
163 void arch_dump_thread(thread_t *t);
174 void uthread_context_switch(thread_t *oldthread, thread_t *newthread);
182 static inline thread_t *get_current_thread(void) { in get_current_thread()
[all …]
A Dmutex.h22 thread_t *holder;
/lk-master/kernel/
A Dthread.c64 static thread_t _idle_thread;
112 memset(t, 0, sizeof(thread_t)); in init_thread_struct()
431 thread_t *newthread; in get_top_thread()
469 thread_t *oldthread; in thread_resched()
470 thread_t *newthread; in thread_resched()
721 thread_t *t = (thread_t *)arg; in thread_sleep_handler()
960 void dump_thread(thread_t *t) { in dump_thread()
992 thread_t *t; in dump_all_threads_unlocked()
1024 thread_t *thread = (thread_t *)arg; in wait_queue_timeout_handler()
1108 thread_t *t; in wait_queue_wake_one()
[all …]
/lk-master/arch/x86/
A Dthread.c36 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
79 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
88 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
136 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
A Dfpu.c57 static thread_t *fp_owner;
133 void fpu_init_thread_states(thread_t *t) { in fpu_init_thread_states()
138 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread) { in fpu_context_switch()
151 thread_t *self; in fpu_dev_na_handler()
A Darch.c71 thread_t *ct = get_current_thread(); in arch_enter_uspace()
/lk-master/arch/mips/
A Dthread.c22 thread_t *ct = get_current_thread(); in initial_thread_func()
40 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
50 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
56 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
/lk-master/arch/m68k/
A Dthread.c22 thread_t *ct = get_current_thread(); in initial_thread_func()
40 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
50 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
56 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
/lk-master/arch/arm/arm/
A Dthread.c41 thread_t *ct = get_current_thread(); in initial_thread_func()
49 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
71 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
80 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
A Dfpu.c43 thread_t *t = get_current_thread(); in arm_fpu_undefined_instruction()
/lk-master/arch/or1k/
A Dthread.c23 thread_t *ct = get_current_thread(); in initial_thread_func()
41 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
55 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
61 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
/lk-master/arch/riscv/
A Dthread.c25 thread_t *ct = get_current_thread(); in initial_thread_func()
43 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
56 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
64 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
/lk-master/arch/microblaze/
A Dthread.c22 thread_t *ct = get_current_thread(); in initial_thread_func()
40 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
59 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
65 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
/lk-master/arch/x86/include/arch/
A Dfpu.h28 void fpu_init_thread_states(thread_t *t);
29 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread);
/lk-master/arch/arm64/
A Dthread.c43 thread_t *current_thread = get_current_thread(); in initial_thread_func()
58 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize()
76 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
85 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
A Dfpu.c84 thread_t *t = get_current_thread(); in arm64_fpu_exception()
A Darch.c108 thread_t *ct = get_current_thread(); in arch_enter_uspace()
/lk-master/arch/arm/arm-m/
A Dthread.c96 thread_t *_current_thread;
259 :: [sp_off] "i"(offsetof(thread_t, arch.sp)) in _half_save_and_svc()
261 ,[fp_off] "i"(offsetof(thread_t, arch.fpregs)) in _half_save_and_svc()
326 :: [sp_off] "i"(offsetof(thread_t, arch.sp)) in _arch_non_preempt_context_switch()
328 , [fp_off] "i"(offsetof(thread_t, arch.fpregs)) in _arch_non_preempt_context_switch()
512 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
/lk-master/top/
A Dmain.c38 static thread_t *secondary_bootstrap_threads[SMP_MAX_CPUS - 1];
106thread_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/app/tests/
A Dfibo.c21 thread_t *t[2]; in fibo_thread()
64thread_t *t = thread_create("fibo", &fibo_thread, (void *)(uintptr_t)argv[1].u, DEFAULT_PRIORITY, … in fibo()
A Dthread_tests.c176 thread_t *threads[5]; in mutex_test()
256 thread_t *threads[5]; in event_test()
399 thread_t *threads[8]; in atomic_test()
459thread_t *t = thread_create("preempt tester", &preempt_tester, NULL, LOW_PRIORITY, DEFAULT_STACK_S… in preempt_test()
484 thread_t *t; in join_tester_server()
530 thread_t *t; in join_test()
615 thread_t *t = thread_create("spinner", spinner_thread, NULL, argv[1].u, DEFAULT_STACK_SIZE); in spinner()
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.c77 thread_t *t[8]; in float_tests()
/lk-master/external/lib/lwip/include/arch/
A Dsys_arch.h28 typedef thread_t * sys_thread_t;
/lk-master/app/
A Dapp.c51thread_t *t = thread_create(app->name, &app_thread_entry, (void *)app, DEFAULT_PRIORITY, stack_siz… in start_app()

Completed in 22 milliseconds

12