Answer: What’s a monitor in Java?

answer re: What’s a monitor in Java?

Sep 29 ’20
8

In concurrent programming, we need to focus on two things

  1. Mutual exclusion

When a process/thread is executing its critical section no other processes are allowed to execute their critical section. (Each process has a code segment called “Critical section” in which shared data is accessed.)

  1. Synchronisation

When threads are trying…

Open Full Answer

原文链接:Answer: What’s a monitor in Java?

© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容