
并发
绿光
这个作者很懒,什么都没留下…
展开
-
捕获executor异常
// you will never know your task ran into an exception@Testpublic void test_executor_runnable() throws InterruptedException, ExecutionException {ScheduledExecutorService executor = Executors.new原创 2015-09-21 17:11:37 · 604 阅读 · 0 评论 -
Java 7 并发编程指南中文版
http://ifeve.com/java-7-concurrency-cookbook/原创 2015-12-29 10:30:31 · 1623 阅读 · 2 评论 -
并发编程网-线程池-说明
http://ifeve.com/thread-pools/24线程池对“注意 PoolThread.stop() 方法中调用了 this.interrupt()。它确保阻塞在 taskQueue.dequeue() 里的 wait() 调用的线程能够跳出 wait() 调用”的解释请看以下2:1。interrupt()的作用是中断本线程的执行。本线程中断自己是被允许的;其原创 2015-12-17 17:26:43 · 388 阅读 · 0 评论 -
并发编程网
http://ifeve.com/java-concurrency-thread-directory/Java并发性和多线程介绍目录转载 2015-12-03 21:55:10 · 444 阅读 · 3 评论