未验证 提交 4eb0c435 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

[TD-12183]<fix>: C# taosdemo multithread (#9118)

上级 94fee2d1
......@@ -361,7 +361,10 @@ namespace TDengineDriver
threadArr[i] = new Thread(createTableThread.ThreadMain);
threadArr[i].Start();
threadArr[i].Join();
}
for (int j = 0; j < numOfThreads; j++)
{
threadArr[j].Join();
}
}
......@@ -482,7 +485,10 @@ namespace TDengineDriver
threadArr[i] = new Thread(insertThread.ThreadMain);
threadArr[i].Start();
threadArr[i].Join();
}
for (int j = 0; j < numOfThreads; j++)
{
threadArr[j].Join();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册