[CFR] Kevent timer improvements

Baptiste Daroussin bapt at freebsd.org
Sun Apr 13 13:15:56 UTC 2014


On Mon, Mar 10, 2014 at 11:04:04AM -0700, John-Mark Gurney wrote:
> Adrian Chadd wrote this message on Mon, Mar 10, 2014 at 10:47 -0700:
> > On 10 March 2014 06:16, Baptiste Daroussin <bapt at freebsd.org> wrote:
> > > A glib developer pointed me to some of the improvements Apple has done on
> > > kqueue(2), some of those improvements are used or will be used by glib in the
> > > near futur, plus add new one.
> > >
> > > I decided to implement part of it and here is the first patch about it:
> > > http://people.freebsd.org/~bapt/kevent.diff
> > 
> > +jmg, he's also done stuff with queue.
> 
> and the maintainer of kqueue.. :)
> 
> The patch looks fine, but it's missing the updates to kqueue(2) to
> describe what the new flags do...
> 
> Also, it would be good to see updates to tools/regression/kqueue/timer.c
> to support the additional flags to make sure that they don't break in
> the future...
> 

I have splitted my patch in multiple parts, let start with the first one:
adding NOTE_NSECONDS, NOTE_USECONDS, NOTE_NSECONDS

http://people.freebsd.org/~bapt/kevent_timer.diff

if ok I'll commit that one first then finish NOTE_MONOTONIC
and in 3rd part add the regression tests.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20140413/119bf201/attachment.sig>


More information about the freebsd-hackers mailing list