{"title":"琳达唤醒了一个熟睡的理发师","authors":"J. H. Reynolds","doi":"10.1109/WSC.2002.1166471","DOIUrl":null,"url":null,"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.","PeriodicalId":74535,"journal":{"name":"Proceedings of the ... Winter Simulation Conference. Winter Simulation Conference","volume":"38 1","pages":"1804-1808 vol.2"},"PeriodicalIF":0.0000,"publicationDate":"2002-12-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Linda arouses a Sleeping Barber\",\"authors\":\"J. H. Reynolds\",\"doi\":\"10.1109/WSC.2002.1166471\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":74535,\"journal\":{\"name\":\"Proceedings of the ... Winter Simulation Conference. Winter Simulation Conference\",\"volume\":\"38 1\",\"pages\":\"1804-1808 vol.2\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2002-12-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the ... Winter Simulation Conference. Winter Simulation Conference\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/WSC.2002.1166471\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ... Winter Simulation Conference. Winter Simulation Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WSC.2002.1166471","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
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.