java 线程池

定义线程池 

 采用java sdk ThreadPoolExecutor 

 

 

线程方法 需要实现 Runnable 

 

 

posted @ 2022-07-28 09:05  桂长江  阅读(12)  评论(0编辑  收藏  举报