From owner-cvs-all@FreeBSD.ORG Fri Oct 13 20:13:36 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A28E716A417; Fri, 13 Oct 2006 20:13:36 +0000 (UTC) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43D9343E31; Fri, 13 Oct 2006 20:12:42 +0000 (GMT) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9DKC7v6005840; Fri, 13 Oct 2006 20:12:07 GMT (envelope-from tegge@repoman.freebsd.org) Received: (from tegge@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9DKC7AS005839; Fri, 13 Oct 2006 20:12:07 GMT (envelope-from tegge) Message-Id: <200610132012.k9DKC7AS005839@repoman.freebsd.org> From: Tor Egge Date: Fri, 13 Oct 2006 20:12:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc_r/uthread uthread_sig.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 20:13:36 -0000 tegge 2006-10-13 20:12:07 UTC FreeBSD src repository Modified files: lib/libc_r/uthread uthread_sig.c Log: Delay unblocking signal and restoring process signal mask until the thread signal mask has been updated to avoid stack overflow during signal bursts. Don't block signal forever if no threads can currently handle signal. Check for pending signal after direct invocation of signal handler. Revision Changes Path 1.47 +41 -19 src/lib/libc_r/uthread/uthread_sig.c