From owner-freebsd-current@FreeBSD.ORG Mon Dec 5 16:50:03 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A2D516A41F for ; Mon, 5 Dec 2005 16:50:03 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9850243D6E for ; Mon, 5 Dec 2005 16:50:02 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id C18AF2082; Mon, 5 Dec 2005 17:49:56 +0100 (CET) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -3.3/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id A57D82080; Mon, 5 Dec 2005 17:49:56 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id 8BC7C33C1D; Mon, 5 Dec 2005 17:49:56 +0100 (CET) To: Fredrik Lindberg References: <43938F61.1050202@terranova.net> <4393F60E.2040106@shapeshifter.se> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 05 Dec 2005 17:49:56 +0100 In-Reply-To: <4393F60E.2040106@shapeshifter.se> (Fredrik Lindberg's message of "Mon, 05 Dec 2005 09:10:54 +0100") Message-ID: <86mzjflc97.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Travis Mikalson , current@freebsd.org Subject: Re: make.conf options you cannot use for building CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 16:50:03 -0000 Fredrik Lindberg writes: > I introduced powerd to pthreads so this is most likely my fault. There is no reason to use threads in powerd. Simply merge the devd_read() loop into your main loop, using select() with a timeout instead of usleep(). --=20 Dag-Erling Sm=F8rgrav - des@des.no