Mike Makonnen
a260623c5f
Fix a null dereference leading to a core dump when
...
the number of threads exceeds the number of open slots
in ldt_entries[].
Approved by: markm (mentor)(implicit)
Reviewed by: jeff
2003-05-06 02:33:49 +00:00
Jake Burkholder
55ad402a8f
- Pass a ucontext_t to _set_curthread. If non-NULL the new thread is set
...
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
2003-04-03 03:34:50 +00:00
Jeff Roberson
996a395d37
- Don't overrun the ldt buffer.
...
Submitted by: gordan@freebsd.org
2003-04-02 22:53:52 +00:00
Jeff Roberson
7a57e9abdd
- Adjust the makefiles so we have a per architecture makefile.
2003-04-01 07:07:38 +00:00
Jeff Roberson
bb535300dd
- Add libthr but don't hook it up to the regular build yet. This is an
...
adaptation of libc_r for the thr system call interface. This is beta
quality code.
2003-04-01 03:46:29 +00:00