comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Ada Protected Object Turorial #2: Overview of Tasks
Date: 1999/12/21
Date: 1999-12-21T00:00:00+00:00	[thread overview]
Message-ID: <83n9ml$89o$1@nnrp1.deja.com> (raw)
In-Reply-To: 385E9343.1D23B0C5@averstar.com

In article <385E9343.1D23B0C5@averstar.com>,
  Tucker Taft <stt@averstar.com> wrote:
> Note that most "production quality" database systems operate
> under the presumption that the power cord can be unplugged
> at any moment.  Abort is somewhat less catastrophic than
> that...

Or they run on machines with multiple power cords and multiple
disks, where no one can unplug anything successfully :-)

Clearly if you have a full commit rollback system, then you
can indeed rollback on an abort, but still I find the legitimate
uses of ATC very few. Almost always it is better to have a high
priority task preempt to perform the time critical stuff, and
then cleanly abort the lower priority stuff by polling.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-12-21  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-18  0:00 Ada Protected Object Turorial #2: Overview of Tasks James S. Rogers
1999-12-19  0:00 ` Robert Dewar
1999-12-20  0:00   ` Tucker Taft
1999-12-21  0:00     ` Robert Dewar [this message]
1999-12-21  0:00   ` Robert I. Eachus
1999-12-22  0:00   ` Robert A Duff
1999-12-23  0:00     ` Robert Dewar
1999-12-23  0:00       ` Robert A Duff
1999-12-23  0:00         ` Robert Dewar
1999-12-27  0:00           ` Robert A Duff
replies disabled

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