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.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,61a3b1a32c5bba29,start X-Google-Attributes: gid103376,public From: Dennis Miller <"DenMiller"@home.com> Subject: Tasking Error Causing SIGILL Date: 1999/09/05 Message-ID: <37D1D790.EDD57617@home.com>#1/1 X-Deja-AN: 521192013 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@home.net X-Trace: news.rdc1.az.home.com 936499183 24.6.164.221 (Sat, 04 Sep 1999 19:39:43 PDT) Organization: Excite@Home Network MIME-Version: 1.0 NNTP-Posting-Date: Sat, 04 Sep 1999 19:39:43 PDT Newsgroups: comp.lang.ada Date: 1999-09-05T00:00:00+00:00 List-Id: 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-