求助,thread编译错误
  • 板块灌水区
  • 楼主JoeBiden2020
  • 当前回复4
  • 已保存回复4
  • 发布时间2021/11/3 22:10
  • 上次更新2023/11/4 01:29:05
查看原帖
求助,thread编译错误
432183
JoeBiden2020楼主2021/11/3 22:10

多线程好像只能填函数名,可是我函数有参数怎么办......

thread t1(DoAiQueue(i));
thread t2(AiCheckCapital(i));
thread t3(AiSuddenAttack(i));
thread t4(AiExband(i));
t2.join();
t1.join();
t3.join();
t1.join();
t4.join();
t1.join();
2021/11/3 22:10
加载中...