Hi,
I have a question about cpu usage..
in main loop I use;
void mainloop(void)
{
    int key;
    while ( (key = vga_getkey()) != 27)
    {
    }
}
but like this, cpu usage raises up to %90... and I've a PIII 500
is there any other nice way to do loop?
Thanks for any help..
 

Reply via email to