无忧论文网 · 始于1999 · 学术论文辅导与论文发表推荐服务

Monitors and Semaphores

栏目
论文
具体类型
本科毕业论文
语言
English
用途
范文参考
更新
关键词
MWBmutual exclusion
分类标签
自然科学计算机科学计算机专业
原站著录信息
原编号
lw201005030050114273
原文字数
5,000 字
原文件格式
DOC
原库登记日期
2010-05-03

摘要

1 Introduction So far we talked about synchronization through shared objects and the interference problem. Mutual exclusion solves the problem! Monitors and semaphores may help to obtain mutual exclusion. In this note we explain the concepts of semaphores and…

1 Introduction
So far we talked about synchronization through shared objects and the interference problem. Mutual exclusion solves the problem! Monitors and semaphores may help to obtain mutual exclusion. In this note we explain the concepts of semaphores and monitors.
The examples of models to be run in the Mobility Workbench (MWB) in this note are presented with emphasis on readability and may thus not compile due to extra line breaks.
Part of this note and some of the examples in this note are inspired by [1].
The exercises affiliated with this lecture are to be found in Section 6

References
[1] J. Magee and J. Kramer. Concurrency — State Models & Java Programs. Worldwide Series in Computer Science. JohnWiley & Sons, 1999.