From owner-cvs-src-old@FreeBSD.ORG Fri Feb 13 01:17:01 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 572F01065676 for ; Fri, 13 Feb 2009 01:17:01 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2A39D8FC18 for ; Fri, 13 Feb 2009 01:17:01 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1D1H1fJ061621 for ; Fri, 13 Feb 2009 01:17:01 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1D1H1Nu061620 for cvs-src-old@freebsd.org; Fri, 13 Feb 2009 01:17:01 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200902130117.n1D1H1Nu061620@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Fri, 13 Feb 2009 01:16:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_taskqueue.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 01:17:01 -0000 thompsa 2009-02-13 01:16:51 UTC FreeBSD src repository Modified files: sys/kern subr_taskqueue.c Log: SVN rev 188548 on 2009-02-13 01:16:51Z by thompsa Check the exit flag at the start of the taskqueue loop rather than the end. It is possible to tear down the taskqueue before the thread has run and the taskqueue loop would sleep forever. Reviewed by: sam MFC after: 1 week Revision Changes Path 1.47 +2 -2 src/sys/kern/subr_taskqueue.c