量(锁)怎么使用?首先需要includeincludeusing namespace std;mutex m;//实例化m对象,不要理解为定义变量void proc1lint a){m.lock();cout