CL_EXIT
CL_EXIT(curthread); /* tell the scheduler that curthread is exiting */
CL_EXIT(t); /* tell the scheduler that we're exiting */
CL_EXIT(t); /* tell the scheduler that t is exiting */