方法一:
#include std::this_thread::sleep_for(std::chrono::milliseconds(1));//单位是毫秒
方法二:
usleep(100*1000)//单位是微妙
上一篇 c语言006
下一篇 分布式事务解决方案seata之saga模式
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号