Subject: Re: envsys version 2 API
To: Martin Husemann <martin@duskware.de>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 04/27/2007 01:19:41
On Wed, 25 Apr 2007 00:30:22 +0200
Martin Husemann <martin@duskware.de> wrote:

> On Tue, Apr 24, 2007 at 03:27:56PM -0700, Jason Thorpe wrote:
> > The only added benefit is reducing the frequency of polling by the  
> > application consuming the envsys data.  Event-driven is almost always  
> > better :-)
> 
> And in this case absolutely trivial, since we only need one single kevent
> for all of it (I thought it would be per sensor and we'd have to think
> about namespaces, but all userland can do is ENVSYS_GTREDATA)

Can you explain some more how to implement kqueue support for sysmon_envsys?

I'm not sure why it's useful if getting the values in real time does
not use any cpu time as I reported in a previous mail.

-- 
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish