Re: [PATCH] O9int for interactivity

From: Guillaume Chazarain (gfc@altern.org)
Date: Sat Jul 26 2003 - 16:20:45 EST


Hi Con,

Strange your activate() function in O9. Isn't it?
It doesn't care that much about sleep_time.

So here is a very simple trouble maker.

#include <time.h>
#include <unistd.h>

int main(void)
{
    int i;

    fork();
    fork();

    for (;;) {
        clock_t c = clock();

        usleep(1);
        usleep(1);
        while (clock() <= c);
    }

    return 0;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:30 EST