网站首页
编程语言
数据库
系统相关
其他分享
编程问答
gcnew
2024-10-26
C++/CLI 类内多线程编程 多个参数
usingnamespaceSystem;usingnamespaceSystem::Threading;namespaceNNNN{ publicrefclassTTTT { staticThread^t1; staticThread^t2; voidfun() { t1=gcnewThread(gcnewParameterizedThreadStart(DoWork1)); t2=gcnewThread(gcnewP