o removed unused variables o explicit inclusion of header files o prototypes for externally defined functions Approved by: re/blanket libthr
_get_curthread(). This is similar to the kernel's curthread. Doing this saves stack overhead and is more convenient to the programmer. - Pass the pointer to the newly created thread to _thread_init(). - Remove _get_curthread_slow().
adaptation of libc_r for the thr system call interface. This is beta quality code.