On Tue, Aug 27, 2002 at 12:41:21AM +0100, Ian Dowse wrote:
> In message <20020826225851.GA93947@gallium>, Dominic Marks writes:
> >+static int kq = -1;
> >+int kq, rv, idx;
> >kevent(0x3,0xbfbfedbc,0x1,0x0,0x0,0x0) = 0 (0x0)
> >kevent(0x809abc0,0x0,0x0,0xbfbfede0,0x8,0x0) ERR#9 '
Dominic Marks wrote:
> I'm attempting the junior userland hacker task of replacing select in
> make with kevent. I have written the code and it is, as far as I know
> correct.
>
> The problem is that this code doesn't work. An example being the
> following:
The problem is that kqueue is known to
In message <20020826225851.GA93947@gallium>, Dominic Marks writes:
>+static int kq = -1;
>+int kq, rv, idx;
>kevent(0x3,0xbfbfedbc,0x1,0x0,0x0,0x0) = 0 (0x0)
>kevent(0x809abc0,0x0,0x0,0xbfbfede0,0x8,0x0) ERR#9 'Bad file descriptor'
Look at the above 4 lines, and it is pretty cle
Hey,
The best time to find and fix problems in code is just after you've
submitted it to a public forum. It is also the worst time. :-)
1. Removed pointless traversal on kevent structures in Job_CatchOutput
which I was doing before. Now all kevent objects store the address of
their assigned job
On Mon, Aug 26, 2002 at 11:17:27PM +0100, Dominic Marks wrote:
One thing I forgot to mention, but which I don't think (hope) matters is
that I'm building make from checked out -CURRENT source on my -STABLE
workstation. That's why the diff is against -CURRENT and the subject
mentions 4.6-STABLE.
Hey,
I'm attempting the junior userland hacker task of replacing select in
make with kevent. I have written the code and it is, as far as I know
correct.
The problem is that this code doesn't work. An example being the
following:
> cd /usr/src
> /usr/obj/usr/home/dom/code/src/usr.bin/make/make
6 matches
Mail list logo