Visualizing Classic Synchronization Problems

Elizabeth Koning,Joel C. Adams, Christiaan D. Hazlett

Proceedings of the 50th ACM Technical Symposium on Computer Science Education(2020)

引用 4|浏览14
暂无评分
摘要
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 work, we present visualizations for these three problems and demonstrate their use in helping students build accurate mental models of concurrency abstractions. 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.
更多
查看译文
关键词
dining philosophers, graphics, parallel, producers consumers, readers writers, synchronization, threads, visualization
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要