多线程好像只能填函数名,可是我函数有参数怎么办......
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();