comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Miller <"DenMiller<!spam>"@home.com>
Subject: Tasking Error Causing SIGILL
Date: 1999/09/05
Date: 1999-09-05T00:00:00+00:00	[thread overview]
Message-ID: <37D1D790.EDD57617@home.com> (raw)

I have a task type that acts as a semaphore for a buffer list.  The
entry points for the task are Start, Seize, Release, and Stop.  The task
body looks something like this:

   task body Semaphore
      Boolean busy; 
      Boolean complete;
   begin
      accept Start
         select
            when not Busy =>
               accept Seize do
                 busy = true;

         or accept Release
            busy = false; 

         or when not Busy =>
               accept Stop do
                 complete = true;
         end select;

     -- CAN'T REMEMBER THE LINE OF CODE THAT GOES HERE
      
   end Semaphore;
         


My code is compiled on Solaris 7 using the VADS 6.2.3c compiler and AXI
Bindings from ATC (version 3.2).

My problem is I get a SIGILL error when I try to clear the buffer. 
Could this problem be caused because a task called Seize, Release, or
Stop before Start has been called?  When I checked the tasks running, I
have two suspended at select and two more suspended at fast select
(sorry...I'm at home and I was writing this at work).

--Dennis-




             reply	other threads:[~1999-09-05  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-05  0:00 Dennis Miller [this message]
1999-09-05  0:00 ` Tasking Error Causing SIGILL Jerry van Dijk
1999-09-07  0:00   ` 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