communication between threads

在项目中需要用到线程间的通信,参考了网络上和core java volume 2上的介绍,主要方法有两种:
1.在线程中维护一个其它线程的引用,从而实现线程间的通信;
2.create a communication channel that communicate between threads.
http://www.javaworld.com/javaworld/jw-04-1996/jw-04-synch.html
http://www.javaworld.com/javaworld/jw-05-1996/jw-05-mcmanis.html

to be continued......

你可能感兴趣的:(html)