LinuxThreads replacement

Petri Helenius pete at he.iki.fi
Tue Jul 15 03:58:18 PDT 2003


>The general answer is "kqueue is your friend".  8-).

>One thing that is very helpful to do is to seperate out the flags
>and hint arguments to KNOTE(), and then pass the user void argument
>through to the knote() code.  Doing this is very handy, besides
>enabling you to raise maxproc higher than the point where it
>collides with the hints bits, I mean.

My large fd_set argument was actually targeted towards user space
processes using existing interfaces. Where the viable options seem to
have large select´s and do work based by spinning the descriptor set
or have a thread block on the read on the descriptor.

Pete



More information about the freebsd-threads mailing list