Infelizmente std::async cria um thread novo a cada chamada 🫠 Então eu criei uma implementação de #DispatchQueue / #ThreadPool que é bem simples, mas muito bacana de usar, pra evitar criação de threads todo frame na minha #gameengine de #ECS + #SQL 🚀
github.com/gilzoide/cpp...
#gamedev #C++
Turns out std::async creates a new thread in every call on most platforms. So I've created a standalone, simple and very nice to use #DispatchQueue / #ThreadPool implementation to avoid thread creation every frame in my #ECS + #SQL #gameengine 🚀
github.com/gilzoide/cpp...
#C++ #gamedev
How to implement thread pool without ExecutorService I am trying to work on some understanding on...
stackoverflow.com/questions/79409584/how-t...
#java #multithreading #threadpool
Event Attributes
How to implement thread pool without ExecutorService I am trying to work on some understanding on...
stackoverflow.com/questions/79409584/how-t...
#java #multithreading #threadpool
Event Attributes
How to implement thread pool without ExecutorService I am trying to work on some understanding on...
stackoverflow.com/questions/79409584/how-t...
#java #multithreading #threadpool
Event Attributes
How to implement thread pool without ExecutorService I am trying to work on some understanding on...
stackoverflow.com/questions/79409584/how-t...
#java #multithreading #threadpool
Event Attributes
How to Create a Custom Thread and Retrieve Its Return Value in Python Title: How to Retrieve a Re...
stackoverflow.com/questions/79378303/how-t...
#multithreading #threadpool
Event Attributes
#threadpool
ᅠmy amazing and wonderful sister gave me the idea to swap the tag around and I like it so much better 😭😭😭 (bsky edit feature when)
ᅠfrom now on #threadpool will be the tag for threads :)))