]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This has been sitting in my local tree long enough. Remove the use
authordeischen <deischen@FreeBSD.org>
Sat, 9 Feb 2002 19:58:41 +0000 (19:58 +0000)
committerdeischen <deischen@FreeBSD.org>
Sat, 9 Feb 2002 19:58:41 +0000 (19:58 +0000)
commit4ed9f7fd062cd8c757f7325cad3bc2ea2c340e84
treedc39d813fe8f056c1b1cfa1a5216fba9998c6103
parent04de78234927ede2f34f9b1286fb8344dafa63fc
This has been sitting in my local tree long enough.  Remove the use
of an alternate signal stack for handling signals.  Let the kernel
send signals on the stack of the current thread and teach the threads
signal handler how to deliver signals to the current thread if it
needs to.  Also, always store a threads context as a jmp_buf.  Eventually
this will change to be a ucontext_t or mcontext_t.

Other small nits.  Use struct pthread * instead of pthread_t in internal
library routines.  The threads code wants struct pthread *, and pthread_t
doesn't necessarily have to be the same.

Reviewed by: jasone
15 files changed:
lib/libc_r/uthread/pthread_private.h
lib/libc_r/uthread/uthread_create.c
lib/libc_r/uthread/uthread_init.c
lib/libc_r/uthread/uthread_kern.c
lib/libc_r/uthread/uthread_sig.c
lib/libkse/thread/thr_create.c
lib/libkse/thread/thr_init.c
lib/libkse/thread/thr_kern.c
lib/libkse/thread/thr_private.h
lib/libkse/thread/thr_sig.c
lib/libpthread/thread/thr_create.c
lib/libpthread/thread/thr_init.c
lib/libpthread/thread/thr_kern.c
lib/libpthread/thread/thr_private.h
lib/libpthread/thread/thr_sig.c