“Alfonse, you have a message!”

“Alfonse, you have a message!”
复制标题

“阿方斯,你有消息!”

DOI:
10.1145/330908.331813
复制
发表时间:
2000
期刊:
--
影响因子:
--
通讯作者:
Stephen J. Hartley
Stephen J. Hartley
中科院分区:
--
文献类型:
--
作者:
Stephen J. Hartley

文献摘要

被引文献

相似文献

使用该语言的内置功能在Java程序中同步多个线程对程序员具有严重的陷阱,尤其是如果在监视器内等待时中断线程时。这些担忧导致了避免Java完全监视的运动,而是使用消息传递。本文访问了并发编程领域,以表明用消息传递代替所有Java监视器是对这些问题的过度反应。
Synchronization of multiple threads in a Java program using the built-in features of the language has serious pitfalls for the programmer, particularly if a thread is interrupted while waiting inside a monitor. These concerns have lead to a movement to avoid Java monitors altogether and use message passing instead. This paper visits the field of concurrent programming to show that replacing all Java monitors with message passing is an overreaction to these problems.