使用互斥锁(如std::mutex和std::shared_mutex)同步文件访问是实现C++多线程环境下线程安全文件...