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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fac1372a6e25492a X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada Protected Object Turorial #2: Overview of Tasks Date: 1999/12/21 Message-ID: <83n9ml$89o$1@nnrp1.deja.com>#1/1 X-Deja-AN: 563195711 References: <83hu2h$bba$1@bgtnsc01.worldnet.att.net> <83j1g0$ck4$1@nnrp1.deja.com> <385E9343.1D23B0C5@averstar.com> X-Http-Proxy: 1.0 x25.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Dec 21 07:19:52 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-12-21T00:00:00+00:00 List-Id: In article <385E9343.1D23B0C5@averstar.com>, Tucker Taft 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.