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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cb6352457d1c6de X-Google-Attributes: gid103376,public From: kst@aonix.com (Keith Thompson) Subject: Re: is there a 'wait' command in Ada Date: 1996/12/04 Message-ID: #1/1 X-Deja-AN: 202400530 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: pulsar references: <1996Dec3.072025.1@eisner> organization: Aonix, San Diego, CA, USA newsgroups: comp.lang.ada originator: kst@pulsar Date: 1996-12-04T00:00:00+00:00 List-Id: In Corey Minyard writes: [...] > IMHO, the GNAT compiler should only require threads if using tasks. > Since delay is not implicitly an operation requiring threads, it > shouldn't require them. But delay statements do affect task scheduling, and there's no way to determine, when a delay statement is compiled, whether it will be executed by a program with multiple tasks. Making delay statements behave differently depending on whether the program has multiple tasks is an interesting and doable optimization, but it's not necessarily a trivial one. -- Keith Thompson (The_Other_Keith) kst@aonix.com <*> TeleSo^H^H^H^H^H^H Alsy^H^H^H^H Thomson Softw^H^H^H^H^H^H^H^H^H^H^H^H^H Aonix 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2706 "SPOON!" -- The Tick