这是一篇ThreadPoolExecutor的源码分析,写的还是不错的,可以参考一下: http://www.cnblogs.com/rilley/archive/2012/02/07/2341767.html