Jump to content
  • Advertisement
Sign in to follow this  
Cyber2008

SDL & Multi-thread

This topic is 3871 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!