[SDL] thread priority?

Sam Lantinga slouken at devolution.com
Mon Jul 29 11:53:01 PDT 2002

> I know how to start thread. But how can I set thread priority? I must be sure,
> that blocks calculating thread do not takes half of CPU, it must be very slow.

> I thought about loop:

> - calc part of data
> - SDL_Delay(100)

> But is there a better solution?

Nope, that's the best portable way to do this.

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment

More information about the SDL mailing list