阅读背景:

如何将一个或多个变量传递给新创建的线程?

来源:互联网 

I'm learning about threads now. I'm wondering if it is possible to pass a variable to my thread. My assignement is to create a thread and assign a number (a name if you will) to each thread and print the number every 100ms. my current program is as below : I'm learning about threads now. I'm wondering i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: