我最近听说了 thread explosion
在一次谈话中,但不能完全理解它的意思。我的猜测是它与为特定任务不必要地产生线程有关,最终阻塞并导致产生更多线程。有人可以更好地解释这一点,也许提供一个例子来帮助理解它?
最佳答案
我还没有在任何关于并发的文献中看到这个术语。根据一份研究论文
Thread explosion: Cyclic creation of a big quantity of threads. We implemented a component that progressively creates 5000 running threads, each of them sleeps for a second and terminates immediately after that - Monitoring applications: An immune inspired algorithm for software-fault detection
关于multithreading - 并发编程中的线程爆炸是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37627527/