wait(), notify() and notifyAll() in Java
The use of the implicit monitors in Java objects is powerful, but you can achieve a more subtle level of control through inter-process communication. As you will see, this is especially easy in Java.Multithreading replaces event loop programming by divid
原创
2010-08-18 16:20:00 ·
1008 阅读 ·
0 评论