comp.lang.ada
 help / color / mirror / Atom feed
From: "Szygula" <szygula@szygula.prv.pl>
Subject: Interrupts service
Date: Fri, 5 Jan 2001 13:28:39 +0100
Date: 2001-01-05T12:23:47+00:00	[thread overview]
Message-ID: <934ecj$pdn$1@news.tpi.pl> (raw)

WHAT'S WRONG IN THIS PROGRAM ???


with Text_Io, Ada.Calendar, Ada.Integer_Text_Io;
use Text_Io, Ada.Calendar, Ada.Integer_Text_Io;
with Ada.Interrupts;
use Ada.Interrupts;

with Ada.Interrupts.Names;
use Ada.Interrupts.Names;
with System; use System;
with system.storage_elements; use system.storage_elements;


procedure program is

type Parameterless_Handler is access protected procedure;


protected type Sygnal(p:Interrupt_ID)is

procedure Steruj;
pragma Interrupt_handler(Steruj);
pragma Attach_Handler(Steruj,p);
end Sygnal;


protected body sygnal is

procedure Steruj is
begin
Put("przerwanie");
end steruj;

end sygnal;

begin
null;

end program;


I NEED INFORMATION OF INTERRUPTS IN ADA95.
thanks.

szygula@szygula.prv.pl
POLAND






             reply	other threads:[~2001-01-05 12:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-05 12:28 Szygula [this message]
2001-01-05 13:20 ` Interrupts service Marc A. Criley
2001-01-05 14:05 ` Florian Weimer
2001-01-05 14:06 ` Ken Garlington
2001-01-05 14:49 ` Ted Dennison
replies disabled

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