* Re: Using signal in Verdix Ada
@ 1993-05-21 20:27 Esther Lumsdon
0 siblings, 0 replies; 2+ messages in thread
From: Esther Lumsdon @ 1993-05-21 20:27 UTC (permalink / raw)
bnelson@csulx.weber.edu (Bert Nelson) writes:
>I am looking for an example of the signal routine as
>implemented in Verdix Ada.
---------- example of masking signals in VADS --------------------
with v_interrupts;
procedure tick is
-- use v_interrupts.set_interrupt_status to disable sigusr, sigint,
-- sigchild signals
--- signal 14 interferes with time slicing and delay statements in runtime.
--- several other signals interfere with a.db operations; see debugger
---- reference "set" command for details
SIGINT : constant := 2;
SIGCHLD : constant := 20;
SIGUSR1 : constant := 30;
-- to block these 3 signals, set bits 1, 19, 29 in mask.
orig_int_status : v_interrupts.interrupt_status_t;
new_int_status : v_interrupts.interrupt_status_t
:= 16#20080002# ;
begin
-- look at v_i_types.intr_status_s
orig_int_status := v_interrupts.set_interrupt_status( new_int_status );
loop
----- loops forever; gives you time to send signals to the Ada process.
end loop;
end;
--
-- Esther Lumsdon, not speaking for Verdix. esther@verdix.com
"It's time to cut bait and talk turkey. It takes 2 snakes to cross a
puddle. You have to bale hay while the tractor is warm."
---- either H. Ross Perot or Dave Barry
^ permalink raw reply [flat|nested] 2+ messages in thread
* Using signal in Verdix Ada
@ 1993-05-21 2:37 agate!howland.reston.ans.net!usc!sol.ctr.columbia.edu!hamblin.math.byu.ed
0 siblings, 0 replies; 2+ messages in thread
From: agate!howland.reston.ans.net!usc!sol.ctr.columbia.edu!hamblin.math.byu.ed @ 1993-05-21 2:37 UTC (permalink / raw)
I am looking for an example of the signal routine as
implemented in Verdix Ada.
Thanks.
Bert Nelson
bnelson@csulx.weber.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-05-21 20:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-05-21 20:27 Using signal in Verdix Ada Esther Lumsdon
-- strict thread matches above, loose matches on Subject: below --
1993-05-21 2:37 agate!howland.reston.ans.net!usc!sol.ctr.columbia.edu!hamblin.math.byu.ed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox