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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d87fcae02ce5c10a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Synchronizing on multiple distinict resources From: Jim Rogers References: <7ebaa24d.0408021054.4abc6e73@posting.google.com> Organization: Your Company Message-ID: User-Agent: Xnews/5.04.25 Date: Mon, 02 Aug 2004 21:48:57 GMT NNTP-Posting-Host: 12.73.183.205 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1091483337 12.73.183.205 (Mon, 02 Aug 2004 21:48:57 GMT) NNTP-Posting-Date: Mon, 02 Aug 2004 21:48:57 GMT Xref: g2news1.google.com comp.lang.ada:2509 Date: 2004-08-02T21:48:57+00:00 List-Id: crmeiners@yahoo.com (Chad R. Meiners) wrote in news:7ebaa24d.0408021054.4abc6e73@posting.google.com: > Task and protected objects are great for synchronizing on resources > that are always grouped together. However, resources that must be > grouped together before they can be used, such as the chopsticks in > the dining philosophers problem, seem to require the developer to > write their own resource synchronization algorithm. Is there any > standard method for synchronizing on multiple resources in Ada 95? If > so, are there any links or articles on this topic? There are many cases where the best answer is to group resources together. Other possibilities are to use a set of requeue calls, possibly from an entry in one protected object to another entry in a different protected object. Jim Rogers