comp.lang.ada
 help / color / mirror / Atom feed
* Interrupts service
@ 2001-01-05 12:28 Szygula
  2001-01-05 13:20 ` Marc A. Criley
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Szygula @ 2001-01-05 12:28 UTC (permalink / 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






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-05 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-05 12:28 Interrupts service Szygula
2001-01-05 13:20 ` Marc A. Criley
2001-01-05 14:05 ` Florian Weimer
2001-01-05 14:06 ` Ken Garlington
2001-01-05 14:49 ` Ted Dennison

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