Java Built-in Monitor Objects: Motivating Example

preview_player
Показать описание
This video motivates the need for Java built-in monitor objects by presenting a "buggy queue" that lacks proper synchronization mechanisms and thus fails when used in a concurrent app.
Рекомендации по теме
Комментарии
Автор

Prof Doug, under what conditions we decide that a bunch of statements should be executed atomically?
One scenario is CheckThenAct.
What are the general guidelines one should consider in deciding this?

Regards,
Sanjeev

SanjeevKumar-hjfb
welcome to shbcf.ru