Lines Matching refs:t
21 thread_t *t[2]; in fibo_thread() local
30 …t[0] = thread_create(name, &fibo_thread, (void *)(fibo - 1), DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in fibo_thread()
31 if (!t[0]) { in fibo_thread()
36 …t[1] = thread_create(name, &fibo_thread, (void *)(fibo - 2), DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in fibo_thread()
37 if (!t[1]) { in fibo_thread()
39 thread_resume(t[0]); in fibo_thread()
40 thread_join(t[0], NULL, INFINITE_TIME); in fibo_thread()
44 thread_resume(t[0]); in fibo_thread()
45 thread_resume(t[1]); in fibo_thread()
49 thread_join(t[0], &retcode0, INFINITE_TIME); in fibo_thread()
50 thread_join(t[1], &retcode1, INFINITE_TIME); in fibo_thread()
64 …thread_t *t = thread_create("fibo", &fibo_thread, (void *)(uintptr_t)argv[1].u, DEFAULT_PRIORITY, … in fibo() local
65 thread_resume(t); in fibo()
68 thread_join(t, &retcode, INFINITE_TIME); in fibo()