6.2、std::mutex/std::lock_guard(互斥锁)

初识std::mutex:多线程的“门锁” 如果,你家有一台打印机,家里几个人同时想用它打印东西。如果大家一起 … 继续阅读 6.2、std::mutex/std::lock_guard(互斥锁)