Original Post
Okay, I know SDL has a multi-threading thing to use in your application, but what if the users PC has only one processor and the application uses 3/4 thread for example.
What would happen? is there a way to know how many thread you are able to use in your application?
Also what is threading used for really? I was thinking maybe if you have a mulitplayer game, then you can open a thread for each player so that if you have a problem with one client, it doesn't effect the rest or if you have music in you application, you will be able to open a new thread for it. But what happens if you have 500+ players on your game? would the PC beable to handle that many threads?
What would happen? is there a way to know how many thread you are able to use in your application?
Also what is threading used for really? I was thinking maybe if you have a mulitplayer game, then you can open a thread for each player so that if you have a problem with one client, it doesn't effect the rest or if you have music in you application, you will be able to open a new thread for it. But what happens if you have 500+ players on your game? would the PC beable to handle that many threads?