comp.lang.ada
 help / color / mirror / Atom feed
From: Jim Rogers <jimmaureenrogers@att.net>
Subject: Re: Synchronizing on multiple distinict resources
Date: Mon, 02 Aug 2004 21:48:57 GMT
Date: 2004-08-02T21:48:57+00:00	[thread overview]
Message-ID: <Xns9539A0EDA9844jimmaureenrogers@127.0.0.1> (raw)
In-Reply-To: 7ebaa24d.0408021054.4abc6e73@posting.google.com

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




  reply	other threads:[~2004-08-02 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02 18:54 Synchronizing on multiple distinict resources Chad R. Meiners
2004-08-02 21:48 ` Jim Rogers [this message]
2004-08-03  8:56 ` Dmitry A. Kazakov
2004-08-10 18:51   ` Chad R. Meiners
2004-08-11 13:52     ` Dmitry A. Kazakov
2004-08-19 22:18       ` Chad R. Meiners
2004-08-20  8:59         ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox