GetMutex 函数功能获取当前AscendStream对应的互斥锁。 该接口预计2025年3月正式删除,该接口为内部接口,不再对外开放。当该接口内部发生异常时,会打印错误日志提示用户,该情况下返回的锁为无效值,用户请勿使用。 函数原型std::mutex& AscendStream::GetMutex(); 参数说明 参数名 输入/输出 说明 mutex 输出 当前AscendStream对应的互斥锁。 父主题: AscendStream