46
SFML projects / Re: It Usually Ends In Nuclear War
« on: October 21, 2017, 12:44:15 am »I don't know if I'll ever get around to this, but what I'd like to do instead is have a generic job queue system in place where the main thread is posting jobs which need to be done, and there's a constant number of threads taking the next job up in the queue and performing the work. That would utilize all the cpu cores more consistently / evenly.
Easiest way would be to use a thread pool library.