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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a18ac4e87554b833 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-27 12:53:33 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ada's interrupts Date: 27 Oct 2003 20:51:22 +0000 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1067288012 27841 62.49.19.209 (27 Oct 2003 20:53:32 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 27 Oct 2003 20:53:32 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:1749 Date: 2003-10-27T20:51:22+00:00 List-Id: scr106@york.ac.uk (Tony) writes: > as we know we can program interrupt handle in ada program. but does > anyone know how this kind interrupts work? I mean wheather the > hardware can trigger the interrupt. as we program one interrupts > handle in ada, but how it can be trigger? by hardware or software? With GNAT -- on Linux, "interrupts" correspond to signals. on Windows -- dunno. on VxWorks, interrupts are hardware interrupts (well, as mediated by VxWorks/some GNAT support ..) -- Simon Wright 100% Ada, no bugs.