본문 바로가기
  • Home

Teaching Process Synchronization with the Bank Account Problem

  • Journal of The Korea Society of Computer and Information
  • Abbr : JKSCI
  • 2014, 19(12), pp.359-368
  • Publisher : The Korean Society Of Computer And Information
  • Research Area : Engineering > Computer Science

Heejae Yang 1

1경성대학교

Accredited

ABSTRACT

Process synchronization is one of the most difficult subject for students learning the Operating Systemcourses. It is due to the fact that concurrent process environment, where many events occur at the sametime, is difficult to understand for ordinary human who thinks only one thing at a time. Classicalsynchronization examples like the Bounded buffer problem or the Dining philosopher problem fail to hookattention and interest from lower grade students who just begin to study the Operating System courses incollege because these examples are either too technical or too unrealistic. In this paper we proposeanother synchronization example named the Bank account problem as an alternative to the classical ones. Bank account problem is proved to succeed getting high interest and understanding from the student as itis easy and realistic, and almost every student has the experience using bank account in real life. Various synchronization subjects including controlling the execution sequence of each process, incorrect result dueto the race conditions, use of semaphores, deadlock, and monitor are considered to apply them to the Bankaccount problem.

Citation status

* References for papers published after 2022 are currently being built.