[Optimization]Both game thread and rendering thread wait for task

I have the same problem, any ideas on this and how to solve it?