Date: Sat, 9 Feb 2002 11:58:41 -0800 (PST) From: Daniel Eischen <deischen@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_create.c uthread_init.c uthread_kern.c uthread_sig.c Message-ID: <200202091958.g19JwfU27026@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
deischen 2002/02/09 11:58:41 PST Modified files: lib/libc_r/uthread pthread_private.h uthread_create.c uthread_init.c uthread_kern.c uthread_sig.c Log: 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 Revision Changes Path 1.66 +9 -46 src/lib/libc_r/uthread/pthread_private.h 1.32 +1 -9 src/lib/libc_r/uthread/uthread_create.c 1.37 +0 -12 src/lib/libc_r/uthread/uthread_init.c 1.40 +56 -84 src/lib/libc_r/uthread/uthread_kern.c 1.40 +102 -118 src/lib/libc_r/uthread/uthread_sig.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202091958.g19JwfU27026>