[SDL] Need advice on client/server networking (long-ish)

Ray Kelm rhk at newimage.com
Sat Sep 30 08:28:35 PDT 2000


Mattias Engdegård wrote:
> The default linux timeslice is 210 ms if I recall correctly, so 10 ms might
> be an underestimate. (remember timeslice != jiffy)

In my quick and not-so-scientific experiments, I've found that 
it is typically about 10 ms, with occasional leaps to 20 ms, most 
likely because my xterm stole a timeslice :)

It does always seem to be a multiple of 10 ms, and was never less.
This was done with two busy-waiting threads running, while the
main process used SDL_WaitThread on the first thread.



More information about the SDL mailing list