std: use sync::Mutex
for internal statics
#100579
Merged
sync::Mutex
for internal statics
#100579