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,26f80afcbbd1b278 X-Google-Attributes: gid103376,public From: claveman@cod.nosc.mil (Charles H. Sampson) Subject: Re: Interrupt Handler Problems Date: 1999/07/09 Message-ID: <1999Jul9.150150.15746@nosc.mil>#1/1 X-Deja-AN: 499223452 Sender: news@nosc.mil References: <1999Jul7.160434.10447@nosc.mil> <7m177r$9e$1@nnrp1.deja.com> Organization: Computer Sciences Corporation Newsgroups: comp.lang.ada Date: 1999-07-09T00:00:00+00:00 List-Id: In article <7m177r$9e$1@nnrp1.deja.com>, Robert Dewar wrote: >In article <1999Jul7.160434.10447@nosc.mil>, > claveman@cod.nosc.mil (Charles H. Sampson) wrote: >> We're having a terrible time getting our code running in >the new >> environment. The killer problem of the moment is interrupt >handlers. >> (We have a lot of them.) Our handlers have been modified into >protected >> procedures, as required by Green Hills > > >Why not use a technology that provides compatible handling >of interrupts, avoiding the need for these modifications? All right, Robert, I'm not as offended by your harmless plug for GNAT as others might be. The answer to your quasi-rhetorical question is: time to market. At the time when we had to make our compiler deci- sion GNAT wasn't supporting our environment. I know that it is now and it's very definitely being kept in mind as a possible fall-back. I must say that having to rework the interrupt handlers, while not onerous, was something of a shock. I had just assumed that all vendors would support the obsolescent features, so much so that we didn't bother to ask during the vendor demos. Our planned approach was to get every- thing executing while using the old, task entry, interrupt handlers and later revise them into protected procedures. The idea, of course, was to change the code as little as possible while doing the actual port. Since the rewrite was forced on us, we now have another factor to con- sider when attacking our problem. Charlie -- ****** For an email response, my user name is "sampson" and my host is "spawar.navy.mil".