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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,58dee6a11c5fa60f,start X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Windows Ada Dining Philosophers Date: 1998/12/17 Message-ID: <36798c3b.9544092@news.pacbell.net>#1/1 X-Deja-AN: 423411606 X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-sf.snfc21.pbi.net 913935685 206.170.2.87 (Thu, 17 Dec 1998 15:01:25 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Thu, 17 Dec 1998 15:01:25 PDT Newsgroups: comp.lang.ada Date: 1998-12-17T00:00:00+00:00 List-Id: I've posted a Windows graphic version of Michael Feldman's Dining Philosophers at ftp://members.aol.com/gmoran01/diners (note gmoran zero one, not oh ell) in files src.zip and exe.zip The former contains his original source, less the ANSI.SYS text mode graphics, and with his interface package (room.ad?) appropriately modified. exe.zip is the same, but with a compiled diners.exe added. The philosophers are well known Ada icons. The exe should run on any Windows PC while the source should compile with any Windows-targetted Ada 95 compiler (it also needs the demo version of the CLAW library which is freely downloadable as source (400K) from www.rrsoftware.com). The source is simple enough students should be able to experiment. Changing the relative durations of eating and thinking will visually show the synchronization, or lack of it, that may prevent or allow deadlock. Tom Moran