From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=5.0 tests=BAYES_20,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Xref: utzoo comp.edu:2892 comp.lang.ada:3155 comp.lang.misc:3862 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!purdue!bls From: bls@cs.purdue.EDU (Brian L. Stuart) Newsgroups: comp.edu,comp.lang.ada,comp.lang.misc Subject: Re: Teaching Concurrency Message-ID: <9221@medusa.cs.purdue.edu> Date: 11 Jan 90 20:38:54 GMT References: <7588@hubcap.clemson.edu> <602@agcsun.UUCP> <10330@june.cs.washington.edu> Reply-To: bls@cs.purdue.edu (Brian L. Stuart) Followup-To: comp.edu Organization: Department of Computer Science, Purdue University List-Id: In article <10330@june.cs.washington.edu> pattis@cs.washington.edu (Richard Pattis) writes: > >OK, so this begs the question: what is the "smallest" assignment that can >use concurrency fruitfully. I would like to teach a bit about tasking in >one of my classes, but I don't want students to get "wrong" ideas from the >example I use. Anyone out there have such an assignment? Is there some prime >example out there of a good use of multi-tasking that is amenable to >classroom instruction? > >Rich Pattis Here at Purdue, in CS503 (Operating Systems) we have often given the dining philosophers problem as a first assignement to teach concurrency. Here, each philosopher is implemented as a separate task (well process actually; we are using XINU). It's a nice little problem that lets the students get a feel for working with XINU before diving into its guts. Brian L. Stuart Department of Computer Science Purdue University