DocumentCode
2963035
Title
Linda arouses a Sleeping Barber
Author
Reynolds, John H.
Author_Institution
Comput. Sci. Dept., Mary Washington Coll., Fredericksburg, VA, USA
Volume
2
fYear
2002
fDate
8-11 Dec. 2002
Firstpage
1804
Abstract
This paper presents an approach that gives students insights into parallelism and exposure to discrete-event simulation techniques without requiring that they have formal courses in either. I apply the rather curious Linda coordination model to the classic Sleeping Barber Problem used frequently to illustrate inter-process communication activities in operating system courses. Normally, customers seeking haircuts are represented as processes spawned as faceless entities with no regard to inter-arrival times or proper ordering of departures for those who get cuts. This paper uses elementary discrete-event simulation techniques to introduce this sought for realism while preserving the original motivation of using the Sleeping Barber to demonstrate process concurrency.
Keywords
computer science education; discrete event simulation; parallel programming; Linda coordination; discrete-event simulation techniques; elementary discrete-event simulation techniques; inter-process courses; parallelism; students; Computational modeling; Computer science; Computer simulation; Concurrent computing; Delay; Discrete event simulation; Educational institutions; File systems; Operating systems; Parallel processing;
fLanguage
English
Publisher
ieee
Conference_Titel
Simulation Conference, 2002. Proceedings of the Winter
Print_ISBN
0-7803-7614-5
Type
conf
DOI
10.1109/WSC.2002.1166471
Filename
1166471
Link To Document