#include #include #include #include using namespace std; void ms() { MessageBoxA(0, "wanghuankong", "1", 1); } void main() { /*thread ths[4]{thread(ms), thread(ms), thread(ms), thread(ms)};*/ thread t11(ms); thread t12(ms); thread t13(ms); thread t14(ms); //Sleep(3000); system("pause"); }
多线程案例
猜你喜欢
转载自blog.csdn.net/niuageniuc/article/details/53022138
今日推荐
周排行