Java Concurency Note
这篇文章是我的多线程笔记,帮助梳理一下脉络。
1. Basic Knowledge
- Keywords: synchronized, volatile.
- Methods: wait(), notify(); run(), start();
- How to start thread?
new MyThread().start(); or new Thread(new MyRunnable()).start().
- Thread Status
2. Executor framework:
3. Concurrency Collection:
ConcurrencyHashMap...
http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/package-summary.html
4. Resource