[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CS results on Console and X
Steve Baker wrote:
> 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.
In the case of CS it is not necessary (at least not in X version). Because CS needs
to wait every frame for XSHM to finish processing the previous frame.
> Steve Baker http://web2.airmail.net/sjbaker1
> firstname.lastname@example.org (home) http://www.woodsoup.org/~sbaker
> email@example.com (work)