Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据线程文档;当 Ruby 程序终止时,所有正在运行的线程都会被杀死,无论它们的状态如何。为什么 ruby 不等待所有生成的线程首先终止?