Sign in to follow this  

SDL & Multi-thread

This topic is 3597 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
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

This topic is 3597 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this