SDL & Multi-thread

Started by
0 comments, last by MJP 16 years, 2 months ago
I made a game where I have several threads that makes SDL_Blits.... I appears that it can create problemes. Is there any good practice to multi-thread animations ? semaphores ? Thanks.
Advertisement
Are you familiar with concurrency programming practices? Multi-threading is not something you should generally just "jump into" if you have no knowledge of the problems it can cause. You need to be familiar with race conditions, and how they can be avoided. It's also good to know how multi-threading affects performance and execution. If applied in a naive manner, multi-threading is only going to slow down your app.

This topic is closed to new replies.

Advertisement