Re: make.conf options you cannot use for building CURRENT

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 06 Dec 2005 10:44:48 +0100
Fredrik Lindberg <fli+freebsd-current_at_shapeshifter.se> writes:
> Dag-Erling Smørgrav wrote:
> > 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().
> Wouldn't that turn in into a polling style again?

No.

> The reason to use
> devd was to obtain a more interrupt driven model instead of the
> sysctl-polling method originally used. Both metods are supported and
> the devd method is only used if the devd.pipe is avaiable.

If the devd loop is an *alternative* to the polling loop, there's even
less reason to use threads.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Tue Dec 06 2005 - 08:44:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC