summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_create.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix build breakage (on ia64) caused by a missing file descriptor tomarcel2003-04-201-1/+1
| | | | _thread_printf(). Use STDERR_FILENO as the file descriptor.
* - Pass a ucontext_t to _set_curthread. If non-NULL the new thread is setjake2003-04-031-4/+4
| | | | | | | | as curthread in the new context, so that it will be set automatically when the thread is switched to. This fixes a race where we'd run for a little while with curthread unset in _thread_start. Reviewed by: jeff
* - Define curthread as _get_curthread() and remove all direct calls tojeff2003-04-021-12/+4
| | | | | | | _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().
* - Add libthr but don't hook it up to the regular build yet. This is anjeff2003-04-011-0/+228
adaptation of libc_r for the thr system call interface. This is beta quality code.
OpenPOWER on IntegriCloud