Mail Archives: djgpp/1998/12/20/10:08:16
Thanks for the replies
I tried a modified version:
main()
{
while(1)
{
/* Poll render queue file */
/* _curr = brqe(); */
printf("%u\n",_curr);
sleep (15);
}
}
that still measured 100% CPU on the NT (with the Task Manager)
are there options I could pass to gcc? (maybe it's because some
debugging stuff is going on?) or could it be the while?
CPU time is very important for what I'm doing or else I would let
it spin out
I am just confused because the same code works great on my SGI.
still trying...
=derek
Eli Zaretskii wrote:
>
> I used the NT-standard Task Manager utility (Press Ctrl-Alt-Del, then
> click "Task manager" and choose Processes) to test this.
>
> Could it be that the call to `brqe' is the one where all the CPU is
> eaten up? (Obviously, I couldn't test that, but I replaced it with a
> call to `kbhit'.)
- Raw text -