Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2005 17:49:56 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Fredrik Lindberg <fli+freebsd-current@shapeshifter.se>
Cc:        Travis Mikalson <bofh@terranova.net>, current@freebsd.org
Subject:   Re: make.conf options you cannot use for building CURRENT
Message-ID:  <86mzjflc97.fsf@xps.des.no>
In-Reply-To: <4393F60E.2040106@shapeshifter.se> (Fredrik Lindberg's message of "Mon, 05 Dec 2005 09:10:54 %2B0100")
References:  <43938F61.1050202@terranova.net> <4393F60E.2040106@shapeshifter.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Fredrik Lindberg <fli+freebsd-current@shapeshifter.se> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mzjflc97.fsf>