We’ve already provided information about the needed synchronizations in your cross-posts 1 and linked to resources which give you examples or the profiling utilities.
It seems you are unwilling to check these resources and assume that others will “solve” the issues for you.
I agree with @albanD that your way of asking for help is inappropriate, so I would like to ask you to reconsider your posting behavior in this board.