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.
通常你在它的父线程上调用 join() 来等待它完成。
是否允许线程在不是子线程的另一个线程上调用 join()?如果是,是否应该使用它?