🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest thread Activity

Key_C0de said:
Your thread dispatching depending on granularity of work is interesting. Your multiple threads for physics integrations seems overkill to me, but you may be working on a big game, even aaa quality.

An example of when that happens (not directly physics related - could be used there too)…

7,295 views
Advertisement

The problem that occures here is that the event loop is flooded with OS specific events that tells the Window that it's position has changed. If you are on Windows for example you will always stay in the

while(true)
{
    if(PeekMessage)
    {
        TranslateMessage;
        DispatchMessage;
    }…
5,944 views
Advertisement
Advertisement