1
3
我认为这真的取决于你的线程工作的内容。例如,如果您的主线程需要打印“X work done”,则需要连接以确保您显示的答案是正确的。如果你没有这样的要求,那么你就不必加入。 |
2
2
Ruby web server . 循环代码看起来很像我的:
|
3
1
|
4
1
如果你移除了
您应该改为使用队列(来自 http://ruby-doc.org/stdlib/libdoc/thread/rdoc/classes/Queue.html
|
Stilian · 存储库设置中没有Github页面部分 2 年前 |
Kellen · 查看$卷展栏功能列表 2 年前 |
Akshit Thakur Ak · 我怎样才能把铁轨停下来? 2 年前 |
johncssjs · 将数组转换为每个元素的嵌套哈希 2 年前 |
solidsnake99 · Rails db:如何绕过验证 2 年前 |