Visualizing Classic Synchronization Problems: Dining Philosophers, Producers-Consumers, and Readers-Writers
Visualizing Classic Synchronization Problems: Dining Philosophers, Producers-Consumers, and Readers-Writers
复制标题
可视化经典同步问题:哲学家就餐、生产者-消费者和读者-作家
DOI:
10.1145/3287324.3287467
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Hazlett, Christiaan D.
中科院分区:
文献类型:
--
作者:
Adams, Joel C.;Koning, Elizabeth R.;Hazlett, Christiaan D.
Classic synchronization problems are often used to introduce students to the subtleties of concurrency and synchronization mechanisms, such as semaphores, monitors, locks, and condition variables. The Dining Philosophers, Producers-Consumers, and Readers-Writers are all classic problems in which a correct solution requires the actions of multiple processes or threads to be synchronized. In this paper, we present visualizations for these three problems and describe their use as pedagogical tools to help students build accurate mental models of concurrency abstractions such as starvation, deadlock, livelock, and correct execution. We also present the results of an experiment that indicate students find using these visualizations to be significantly more engaging than reading a textbook, with no significant difference in learning. We do not claim that our visualizations should replace a course text; rather we present them as engaging pedagogical tools to complement the textbook in courses on Operating Systems, Programming Languages, and other courses where concurrency and synchronization are covered.
登录
查看更多内容
DOI:
10.1145/1821996.1821997
发表时间:
2010
期刊:
ACM Trans. Comput. Educ.
影响因子:
--
作者:
C. Shaffer;Matthew L. Cooper;Alexander Joel D. Alon;Monika Akbar;Michael Stewart;Sean P. Ponce;S. Edwards
通讯作者:
S. Edwards
DOI:
10.1006/jpdc.1993.1050
发表时间:
1993
期刊:
J. Parallel Distributed Comput.
影响因子:
--
作者:
Eileen T. Kraemer;J. Stasko
通讯作者:
J. Stasko
DOI:
10.1145/958795.958796
发表时间:
2003
期刊:
ACM J. Educ. Resour. Comput.
影响因子:
--
作者:
S. Carr;Jean Mayo;Ching
通讯作者:
Ching
DOI:
10.1145/237466.237533
发表时间:
1996
期刊:
Proceedings of the 1st conference on Integrating technology into computer science education
影响因子:
--
作者:
S. Rodger
通讯作者:
S. Rodger
影响因子:
0.9
作者:
Stephen J. Hartley
通讯作者:
Stephen J. Hartley