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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c02e0ad89ef0dfec X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-14 21:24:40 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: x24702@usma.edu (Zach Swanson) Newsgroups: comp.lang.ada Subject: Re: Ada tasks: processes or threads Date: 14 Mar 2002 21:24:39 -0800 Organization: http://groups.google.com/ Message-ID: <50c1a1b.0203142124.38eda0bb@posting.google.com> References: <3C8EC270.1030006@telepath.com> <50c1a1b.0203132049.3c729ad0@posting.google.com> NNTP-Posting-Host: 134.240.36.230 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1016169880 30885 127.0.0.1 (15 Mar 2002 05:24:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 15 Mar 2002 05:24:40 GMT Xref: archiver1.google.com comp.lang.ada:21259 Date: 2002-03-15T05:24:40+00:00 List-Id: Kilgallen@SpamCop.net (Larry Kilgallen) wrote in message news:... > Why do you say that ? > > I was under the impression that notions of "threads" and "processes" > were operating system concepts invisible to the reader of the Ada > Reference Manual. > > Obviously such concepts must be handled by those implementing an > Ada compiler, but their implementation should hide those details > from those writing Ada programs. > > To the extent that any programmer depends on thread vs. process > differences, aren't they depending on features not guaranteed > by the Ada Reference Manual ? That's true, I should have said its an Ada "compiler standard" just because that seems to be how the majority of the Ada compilers handle the tasks, as "threads". And as Ted pointed out a post later, its not so much an OS thread either. And you're right about depending on thread vs process, there's really no way to guarantee that from the LRM, its compiler dependant.