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,8978b74547aa4bbf,start X-Google-Attributes: gid103376,public From: Greg Bond Subject: GNAT RTS Creating Hidden Task? Date: 1996/04/12 Message-ID: <316F0359.6BE3@ee.ubc.ca>#1/1 X-Deja-AN: 147225756 cc: report@gnat.com content-type: text/plain; charset=us-ascii organization: Dept. of Electrical Eng., UBC mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01 (Macintosh; I; PPC) Date: 1996-04-12T00:00:00+00:00 List-Id: I've hacked the GNAT RTS to monitor for particular RTS events (such as task creation, destruction, rendezvous stages, protected object access stages). In the following code I would expect two tasks to be created: the mainline procedure and the declared task. However, the event monitor indicates that the mainline procedure creates a task in addition to the declared task. What's its purpose? I'm running GNAT 3.03 under SunOS. procedure Test1 is task T1; task body T1 is begin null; end T1; task T2; begin null; end; -- * Greg Bond * Dept. of Electrical Eng. * email: bond@ee.ubc.ca * Univ. of British Columbia * voice: (604) 822 0899 * 2356 Main Mall * fax: (604) 822 5949 * Vancouver, BC * web: http://www.ee.ubc.ca/~bond * Canada, V6T 1Z4