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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!emory!hubcap!billwolf%hazel.cs.clemson.edu From: billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu (William Thomas Wolfe, 2847 ) Newsgroups: comp.lang.ada Subject: Re: ADA and SIGALARM Message-ID: <8112@hubcap.clemson.edu> Date: 22 Feb 90 01:57:15 GMT References: <1990Feb21.205907.27015@cec1.wustl.edu> Sender: news@hubcap.clemson.edu Reply-To: billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu List-Id: >From meh@wucs1.wustl.edu (Mark E Hunter): > I am running an > ADA multitasking program under Sunview on a sun > workstation. Very often, the program crashes. This > appears to happen when an ADA task picks up an > alarm meant for Sunview. What is going on here? If you are using the Telesoft compiler, section 1.2.3.1 of the Software Extensions User Guide specifically states (page 1-3) that "The Ada run-time kernel uses SIGALARM for implementing DELAY statements, timed ENTRY calls, and selective waits with DELAY alternatives. [...] When the SunView notifier is called... it issues a system call that will replace the Ada kernel's timer interrupt handler with its own. [...] In future releases, a special version of the Ada run-time kernel that cooperates with the SunView kernel will be included in the SunView Bindings sublibrary. That kernel will allow full use of Ada tasking with SunView." Bill Wolfe, wtwolfe@hubcap.clemson.edu