HelenOS sources

thread_exit       221 kernel/generic/include/proc/thread.h extern void thread_exit(void) __attribute__((noreturn));
thread_exit       143 kernel/generic/src/interrupt/interrupt.c 		thread_exit();
thread_exit       610 kernel/generic/src/proc/scheduler.c 	thread_exit();
thread_exit       601 kernel/generic/src/proc/task.c 	thread_exit();
thread_exit      1008 kernel/generic/src/proc/thread.c 	thread_exit();
thread_exit       173 kernel/generic/src/syscall/syscall.c 		thread_exit();
thread_exit        45 uspace/lib/c/generic/private/thread.h extern void thread_exit(int) __attribute__((noreturn));
thread_exit        76 uspace/lib/c/generic/thread/thread.c 	thread_exit(0);
HelenOS homepage, sources at GitHub