[SDL] thread priority?
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.
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL