From owner-cvs-all Sat Feb 9 11:58:48 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B232E37B41B; Sat, 9 Feb 2002 11:58:41 -0800 (PST) Received: (from deischen@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g19JwfU27026; Sat, 9 Feb 2002 11:58:41 -0800 (PST) (envelope-from deischen) Message-Id: <200202091958.g19JwfU27026@freefall.freebsd.org> From: Daniel Eischen Date: Sat, 9 Feb 2002 11:58:41 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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