From owner-cvs-src@FreeBSD.ORG Thu Feb 19 05:47:12 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B014D16A4CE; Thu, 19 Feb 2004 05:47:12 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 932FD43D1D; Thu, 19 Feb 2004 05:47:12 -0800 (PST) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1JDlCGe063545; Thu, 19 Feb 2004 05:47:12 -0800 (PST) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1JDlCit063544; Thu, 19 Feb 2004 05:47:12 -0800 (PST) (envelope-from mtm) Message-Id: <200402191347.i1JDlCit063544@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 19 Feb 2004 05:47:12 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libthr/thread thr_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 13:47:12 -0000 mtm 2004/02/19 05:47:12 PST FreeBSD src repository Modified files: lib/libthr/thread thr_sig.c Log: Don't wake up the thread after the signal handler has been executed. On return from the signal handler the call will either be restarted or EINTR will be returned, but it will not go back to its previous state. So, it is sufficient to simply change the state to 'running' without actually trying to wake up the thread. Revision Changes Path 1.8 +1 -1 src/lib/libthr/thread/thr_sig.c