“Alfonse, wait here for my signal!”
暂无分享,去创建一个
At first glance, Java monitors appear easy to use. However, a deeper analysis reveals that they are surprisingly tricky, suffer from subtle race conditions, and are actually a low-level synchronization tool in stark contrast to the reputation Java has as a modern well-engineered language. The programmer is responsible for building safe and robust synchronization structures from Java monitors.
[1] Gregory R. Andrews,et al. Concurrent programming - principles and practice , 1991 .
[2] Guy L. Steele,et al. The Java Language Specification , 1996 .
[3] Peter A. Buhr,et al. Monitor classification , 1995, CSUR.
[4] Ken Arnold,et al. The Java programming language (2nd ed.) , 1998 .