[PATCH openEuler-1.0-LTS 0/2] Fix data-races around