pstats: I have big spikes of "wait"->"thre


I have got a problem. I am programming a game using panda3d. This game is lagging, so pdb and wvd told me to check pstats.

In the Window of “Frame”->“wait” are big spikes of the graph called “Thread block”. Everytime a spike appears the game laggs. What does that mean, what do I need to change to solve this problem? I already tried to set “sync-video #f” but that did not help :frowning:

Thanks in advance.


Thank you.
It works now