JDK1.5 provided after
factory production class Execituors thread pool
thread pool Interfaces: ExecutorService
1 factory class to create a thread pool
to create a class that implements the Runnable interface, which override the run method of
passing the thread pool task execution
thread pool of a total of two threads
to destroy the thread pool
thread pool automatically stop after the destruction of
the thread pool threads to perform the task and then destroy it will error.
Phase 1 Language Basics + Advanced _1-3-Java language senior _05- anomalies and achieve multi-threaded code that Section 5 _ _2_ thread pool thread pool
Guess you like
Origin www.cnblogs.com/wangjunwei/p/11261573.html
Recommended
Ranking