迷茫2017-04-21 11:18:35
In addition to deadlock, another reason is that resources are exhausted. No matter how many threads you have, there is no use if you have no resources (CPU, memory, etc.). Multi-threading can only guarantee that if one thread dies, other threads can still be used.