[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CS results on Console and X

Cubesoft wrote:
> Also someone(bad with rememberuing names) suggested usleep(1) and sleep(0) every frame for speed.

That's usually recommended for programs that otherwise would consume
100% of
CPU time.  It gives the kernel the opportunity to schedule other

It's necessary - but it won't speed your code up at all.

Steve Baker                  http://web2.airmail.net/sjbaker1
sjbaker1@airmail.net (home)  http://www.woodsoup.org/~sbaker
sjbaker@hti.com      (work)