_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().
this manually. This will facilitate the unrolling of giant. - Don't allow giant to recurse anymore. This should never happen.
adaptation of libc_r for the thr system call interface. This is beta quality code.