HelenOS sources

cleanup_after_thread  528 kernel/generic/src/proc/scheduler.c 		cleanup_after_thread(CPU_LOCAL->prev_thread);
cleanup_after_thread  574 kernel/generic/src/proc/scheduler.c 		cleanup_after_thread(THREAD);
cleanup_after_thread  602 kernel/generic/src/proc/scheduler.c 		cleanup_after_thread(CPU_LOCAL->prev_thread);
HelenOS homepage, sources at GitHub