answer re: What’s a monitor in Java?
Sep 29 ’20
8
In concurrent programming, we need to focus on two things
- 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.)
- Synchronisation
When threads are trying…
© 版权声明
THE END
暂无评论内容