When you really think about this, in the end we all end up the same.
你仔细想想,到最后其实我们都是一样的。
Pushing the blocking all the way to the caller, as is the case in the "obvious" implementation of a thread pool, can end up causing the same problem we were trying to solve.
完全堵住调用者,如在线程池的“明显的”实现的情况,可以杜绝我们试图解决的问题的发生。
We all end up in the same place.
我们最终的结局都一样。
应用推荐