Home
last modified time | relevance | path

Searched refs:retcode (Results 1 – 7 of 7) sorted by relevance

/kernel/tests/
A Dfibo.cpp67 int retcode; in fibo() local
68 thread_join(t, &retcode, ZX_TIME_INFINITE); in fibo()
72 printf("fibo %d\n", retcode); in fibo()
/kernel/syscalls/
A Dsystem_x86.cpp182 zx_status_t retcode; in acpi_transition_s_state() local
183 zx_status_t status = thread_join(t, &retcode, ZX_TIME_INFINITE); in acpi_transition_s_state()
186 if (retcode != ZX_OK) { in acpi_transition_s_state()
187 return retcode; in acpi_transition_s_state()
A Dtask.cpp458 void sys_process_exit(int64_t retcode) { in sys_process_exit() argument
459 LTRACEF("retcode %" PRId64 "\n", retcode); in sys_process_exit()
460 ProcessDispatcher::GetCurrent()->Exit(retcode); in sys_process_exit()
/kernel/kernel/
A Dthread.cpp76 static void thread_exit_locked(thread_t* current_thread, int retcode) __NO_RETURN;
178 t->retcode = 0; in thread_create_etc()
402 zx_status_t thread_join(thread_t* t, int* retcode, zx_time_t deadline) { in thread_join() argument
427 if (retcode) { in thread_join()
428 *retcode = t->retcode; in thread_join()
484 int retcode) TA_REQ(thread_lock) { in thread_exit_locked() argument
492 current_thread->retcode = retcode; in thread_exit_locked()
548 void thread_exit(int retcode) { in thread_exit() argument
558 thread_exit_locked(current_thread, retcode); in thread_exit()
/kernel/include/kernel/
A Dthread.h167 int retcode; member
249 void thread_exit(int retcode) __NO_RETURN;
260 zx_status_t thread_join(thread_t* t, int* retcode, zx_time_t deadline);
/kernel/object/include/object/
A Dprocess_dispatcher.h195 void Exit(int64_t retcode) __NO_RETURN;
/kernel/object/
A Dprocess_dispatcher.cpp171 void ProcessDispatcher::Exit(int64_t retcode) { in Exit() argument
187 retcode_ = retcode; in Exit()

Completed in 17 milliseconds