Help with threading?
Posted: Thu Oct 15, 2015 6:15 am
I am not new to programming, I've been working with C++ and threading in the language for some time. But when I began to try out threading with Love, it just takes me out for a spin.
The general concept is to get a ton of entities to update on the screen all within a reasonable amount of time. I'd like to approach this via a job-based threading method. But the documentation isn't really providing much information on how to pass around data. Or any kind of semaphor for that matter (Waiting for all entities to finish updating before moving on).
Does anyone have any information on the matter? Also an example of a system in a game would be preferable.
The general concept is to get a ton of entities to update on the screen all within a reasonable amount of time. I'd like to approach this via a job-based threading method. But the documentation isn't really providing much information on how to pass around data. Or any kind of semaphor for that matter (Waiting for all entities to finish updating before moving on).
Does anyone have any information on the matter? Also an example of a system in a game would be preferable.